2005-10-29 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / mini / ChangeLog
index 3d76dadbf5a01345161b7e1e4631ba6512634c0f..1b36bad373ec295b50a825a1eae5d01c7d6bc272 100644 (file)
@@ -1,3 +1,270 @@
+2005-10-29  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-amd64.c (mono_arch_compute_omit_fp): Move the check for the
+       debugger to the proper place.
+
+2005-10-29  Martin Baulig  <martin@ximian.com>
+
+       * mini-amd64.c (debug_omit_fp): Temporarily disable fp elimination
+       when running inside the debugger until the debugger has support
+       for it.
+
+2005-10-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h: Fix a warning.
+
+2005-10-24  Miguel de Icaza  <miguel@novell.com>
+
+       * mini.c (mono_pmip): Just a wrapper for get_method_from_ip which
+       we expose publicly, this returns the string.
+
+2005-10-22  Zoltan Varga  <vargaz@freemail.hu>
+
+       * exceptions-amd64.c (mono_arch_find_jit_info): Fix some corner cases
+       with fp elimination.
+
+2005-10-21  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-exceptions.c (mono_handle_native_sigsegv): Try to print a
+       native stacktrace using the glibc 'backtrace' function if available.
+
+2005-10-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h (MonoDebugOptions): Remove 'abort_on_sigsegv' option.
+
+       * mini-exceptions.c (mono_handle_native_sigsegv): New function to 
+       handle SIGSEGVs received while in native code.
+
+       * mini.c (sigsegv_signal_handler): If the SIGSEGV happened in native
+       code, call mono_handle_native_sigsegv which will abort the runtime
+       after printing some diagnostics, instead of converting it into a
+       confusing NullReferenceException.
+
+2005-10-18  Zoltan Varga  <vargaz@gmail.com>
+
+       * cpu-pentium.md: Remove unused opcodes.
+
+2005-10-18  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-amd64.h (MonoLMF): Add rsp field.
+
+       * mini-amd64.c exceptions-amd64.c tramp-amd64.c: Save the sp reg into
+       the lmf too.
+
+2005-10-17  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-codegen.c (get_register_spilling): Fix some warnings.
+
+2005-10-16  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-amd64.h mini-amd64.c exceptions-amd64.c: Add support for fp
+       elimination during exception handling. Enable fp elimination by
+       default.
+
+       * mini-amd64.h mini-amd64.c: Add preliminary support for frame pointer
+       elimination.
+
+2005-10-16  Martin Baulig  <martin@ximian.com>
+
+       * mini-exceptions.c
+       (mono_debugger_run_finally): New public method for the debugger.
+
+2005-10-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * debug-mini.c (mono_debug_init_method): Fix warning.
+
+       * mini.h branch-opts.c (mono_branch_optimize_exception_target): Make
+       the 'exname' parameter const to fix some warnings.
+
+2005-10-09  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-exceptions.c (mono_handle_exception_internal): Fix another bug
+       introduced by the previous patch.
+
+2005-10-08  Zoltan Varga  <vargaz@gmail.com>
+
+       * basic-float.cs: Add test for precision of float arithmetic.
+
+       * mini-ia64.c (mono_arch_output_basic_block): Convert to/from doubles
+       when loading/storing single values from/to memory.
+
+       * mini.c (mono_jit_compile_method_with_opt): Create the function
+       pointers in the correct domain.
+
+2005-10-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-exceptions.c (mono_handle_exception_internal): Fix bug 
+       introduced by previous patch.
+       
+       * mini-exceptions.c (mono_handle_exception_internal): Handle the case
+       when out_filter_idx is NULL.
+
+       * mini-exceptions.c: Don't run filter clauses twice during exception
+       handling. Fixes #75755.
+
+2005-10-07  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot.c: Add support for ldflda wrappers.
+
+       * mini.c (mono_method_to_ir): Use ldflda wrappers for CEE_LDFLDA. Fixes
+       #75902.
+
+Tue Oct 4 20:23:25 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c, mini.h: do not consider exception handlers blocks when
+       setting up interface variables.
+
+2005-10-04  Zoltan Varga  <vargaz@freemail.hu>
+
+       * aot.c (emit_section_change): Fix emitting of sections on win32. Fixes #76322.
+
+2005-10-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * liveness.c (mono_analyze_liveness): Revert parts of r51051 since it
+       causes a regression.
+
+       * mini.c (mini_thread_cleanup): Fix reading of freed memory.
+
+2005-10-02  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini.h (OP_PCONST): Move the definition of OP_PCONST into the rest
+       of the OP_P definitions.
+
+       * TODO: Add a proposal for dealing with the CEE/OP mess.
+
+       * mini-amd64.c (mono_arch_output_basic_block): Merge mul_imm 
+       optimizations from the x86 port.
+
+       * cpu-amd64.md: Ditto.
+
+       * basic.cs basic-long.cs: Add tests.
+
+Fri Sep 30 20:07:20 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * Makefile.am, driver.c, mini-x86.c, mini.c, mini.h, branch-opts.c:
+       Patrik Torstensson's implementation of my exception-handling
+       optimization idea, when the exception object is not used
+       (bug #62150).
+
+Fri Sep 30 19:10:29 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * mini-x86.c, cpu-pentium.md: Patrik Torstensson's port
+       of the mul_imm optimizations from the old jit.
+
+Fri Sep 30 11:37:51 EDT 2005 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c, liveness.c: patch by Patrik Torstensson and
+       Zoltan Varga to improve performance in methods with
+       exception clauses.
+
+2005-09-30  Zoltan Varga  <vargaz@gmail.com>
+
+       * driver.c: Remove 'Globalization' entry from --version.
+
+2005-09-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mono_jit_compile_method_inner): Do not load AOT code when
+       there is a profiler interested in JIT events.
+
+       * aot.c: Load profile files produced by the AOT profiling module, and
+       reorder methods based on the profiling info. Add a 'method_order' table
+       to the AOT file to make mono_aot_find_jit_info work with the reordered
+       methods.
+
+       * mini.h: Bump AOT file version info.
+
+Wed Sep 28 17:12:48 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * mini-arm.h: work around what looks like a gcc bug when optimizations
+       are enabled.
+
+2005-09-28  Raja R Harinath  <rharinath@novell.com>
+
+       * Makefile.am (AM_CFLAGS): Don't use += to append inside
+       conditionals.  Use ...
+       (PLATFORM_CFLAGS, ARCH_CFLAGS): ... these.
+
+2005-09-27  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-amd64.c (mono_arch_call_opcode): Use mono_class_value_size ()
+       to determine the amount of memory to copy when passing valuetypes.
+
+       * inssel-amd64.brg: Remove PUSH(LDIND4) rules since they convert an
+       4 byte load into a 8 byte load. Fix aligning of size in OP_OUTARG_VT.
+
+2005-09-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h mini.c aot.c: Add infrastructure to collect pagefault 
+       information about aot.
+
+2005-09-27  Ben Maurer  <bmaurer@ximian.com>
+
+       * *.c: Replace the use of {Enter,Leave}CriticalSection with
+        macros. This will allow a deadlock debugger to easily be plugged
+        in.
+
+Tue Sep 27 09:32:11 EDT 2005 Paolo Molaro <lupus@ximian.com>
+
+       * mini-ppc.c, cpu-g4.md: added memory barrier instruction.
+
+2005-09-27  Raja R Harinath  <rharinath@novell.com>
+
+       * Makefile.am (AM_CFLAGS): Rename from INCLUDES.
+       (AM_CFLAGS) [PLATFORM_WIN32): Append to it, don't set it.
+       (AM_CFLAGS) [ARM]: Add arch/arm directory from the build tree.
+       ($(arch_built)) [CROSS_COMPILING]: Error out.
+
+2005-09-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot.c: Add support for the no_special_static flag for classes.
+
+2005-09-24  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Reapply reverted patches.
+
+       * *: Revert r50174 as well.
+
+       * mini-amd64.c cpu-amd64.md inssel-amd64.brg: Revert r50170 as well.
+
+2005-09-24  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-amd64.c: Revert r50342 to see if this fixed buildbot.
+
+2005-09-23  Miguel de Icaza  <miguel@novell.com>
+
+       * mini.c (SIG_HANDLER_SIGNATURE): Only dereference info if it is
+       part of the SIG_HANDLER_SIGNATURE.  
+
+2005-09-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h mini.c: Add a new MONO_DEBUG option to collect metadata pagefault
+       statistics.
+
+       * mini-x86.c (mono_arch_call_opcode): Fix vararg calling convention 
+       introduced by previous patch.
+
+2005-09-21  Zoltan Varga  <vargaz@gmail.com>
+
+       * tramp-x86.c (mono_arch_create_trampoline_code): Restore caller
+       saved registers too.
+
+       * mini-x86.c (mono_arch_allocate_vars): Rewrite this so it works based 
+       upon the information returned by get_call_info ().
+       
+       * mini-x86.c (add_float): Fix stack size calculation.
+       (mono_arch_call_opcode): Rewrite this so it works based up the
+       information returned by get_call_info ().
+       (mono_arch_get_this_vret_args): Ditto.
+
+2005-09-21  Zoltan Varga  <vargaz@freemail.hu>
+
+       * mini-amd64.c (mono_arch_emit_this_vret_args): Use the information
+       in cinfo to determine the registers which need to be used.
+
+2005-09-20  Miguel de Icaza  <miguel@novell.com>
+
+       * driver.c (mono_main): Add --server and --desktop flags. 
+
 2005-09-16  Zoltan Varga  <vargaz@gmail.com>
 
        * mini-ia64.h: Make register masks 64 bit. Don't treat argument