X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2FChangeLog;h=02ad318f3f7ecd2dcf0b1748e7615e6be61a5384;hb=5de77e460e40e70f1bd8df5dc83a0044e1e1c82e;hp=9a6c5c888642bb8b76b5838452bd7da2a2577f1e;hpb=84c366fb9d88ac3a1d699bc43dc87507ddda79b1;p=mono.git diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index 9a6c5c88864..02ad318f3f7 100644 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,5 +1,367 @@ +2007-07-19 Mark Probst + + * mini.c: Removed the MonoLoaderErrorKind enum and replaced it + with the MONO_EXCEPTION_ defines. + +2007-07-17 Zoltan Varga + + * mini-amd64.c (mono_arch_find_imt_method): Handle mov reg,IMM64 case. Fixes + #82117. + + * mini-amd64.c (mono_arch_find_imt_method): Add some debug code to help find out + the cause of an assertion. + +Mon Jul 16 19:31:21 CEST 2007 Paolo Molaro + + * mini.c, jit-icalls.c: mono_get_inflated_method() is obsolete, + removed. + +2007-07-15 Zoltan Varga + + * mini-amd64.c (mono_arch_build_imt_thunk): Remove the non-32bit MonoMethod + assert. Should fix #82103. + +2007-07-14 Zoltan Varga + + * mini-exceptions.c (mono_jit_walk_stack_from_ctx): Use MONO_CONTEXT_GET_SP () + here too. Fixes #82095. + + * mini-amd64.c (mono_arch_build_imt_thunk): Add support for non-32bit MonoMethod + addresses. + + * mini-amd64.c (mono_arch_get_vcall_slot_addr): Add a couple asserts. + + * mini-amd64.h: Enable IMT for amd64. + + * mini-amd64.c (mono_arch_build_imt_thunk): Optimize IMT thunk size. + +2007-07-12 Zoltan Varga + + * mini-amd64.c (mono_arch_get_vcall_slot_addr): Add support for IMT call sequences. + +2007-07-12 Mark Probst + + * mini.c (check_linkdemand, mono_method_to_ir): Abort compilation + as soon as check_linkdemand sets an exception_type. + +Thu Jul 12 12:18:22 CEST 2007 Paolo Molaro + + * mini-x86.c: fixed offsets for IMT call sequence. + * mini-x86.h: enable IMT again. + +2007-07-11 Zoltan Varga + + * trace.c (mono_trace_enter_method): Decode MonoType too. + + * mini-amd64.c (mono_arch_get_vcall_slot_addr): Handle signed displacements too. + + * mini.h mini-x86.h mini-trampolines.c: Change the signature of mono_arch_find_imt_method () to pass the calling code address too. + + * mini-amd64.c: Add preliminary IMT implementation. + +Wed Jul 11 18:21:30 CEST 2007 Paolo Molaro + + * mini-x86.c: adjusted mono_arch_get_vcall_slot_addr () to + understand the new IMT-base interface invocation (thanks to + Daniel Nauck for the report and the remote debugging session). + +Wed Jul 11 14:54:39 CEST 2007 Paolo Molaro + + * mini-x86.c: size and speed optimizations for the IMT bsearch. + +2007-07-11 Zoltan Varga + + * Makefile.am (aotcheck): Make this actually use the AOTed code. + +Wed Jul 11 12:41:32 CEST 2007 Paolo Molaro + + * mini-trampolines.c: implement AOT IMT support. + * mini-x86.h: enable IMT support for wider testing. + +2007-07-10 Zoltan Varga + + * inssel.brg (emit_imt_argument): Add aot support here. + + * aot-runtime.c (decode_patch_info): Fix reading of MONO_PATCH_INFO_METHOD. + +Tue Jul 10 17:50:58 CEST 2007 Paolo Molaro + + * mini-x86.c, mini-x86.h, tramp-x86.c: x86 arch-specific changes + of the IMT implementation, partially from massi, with my + implementation of the bsearch sequence. Disabled by default until + the AOT code is implemented. + +2007-07-10 Zoltan Varga + + * cpu-x86.md: The source argument of sext_i1/i2 must by a byte reg. + + * inssel-x86.brg: Add reg:ldind.i1(regvar) rules. Fixes #82056. + +Tue Jul 10 17:33:12 CEST 2007 Paolo Molaro + + * inssel.brg, mini.c, mini.h, mini-trampolines.c: + arch-independent IMT JIT code from Massimiliano + Mantione (massi@ximian.com) with small cleanups from me. + +Tue Jul 10 13:07:24 CEST 2007 Paolo Molaro + + * Makefile.am: fix svn invocation to get the svn revision to be + independent of the local language (build fix). + +2007-07-09 Mark Probst + + * mini.c (inline_method): Reset cfg->exception_type if the + inlining is aborted. Fixes: 82049. + +Mon Jul 9 17:26:47 CEST 2007 Paolo Molaro + + * mini.c: remove assert from exception handling code when exception_ptr + is not set. + +2007-07-05 Zoltan Varga + + * mini.c (mono_codegen): Add an assert. + + * mini-x86.c (mono_arch_emit_prolog): Allocate space for the profiler method + enter and leave code. + * mini-amd64.c (mono_arch_emit_prolog): Likewise. + +Thu Jul 5 20:12:52 CEST 2007 Paolo Molaro + + * mini-ppc.c: fixed memory corruption for localloc(0) + (bug #81852). + +2007-07-05 Zoltan Varga + + * mini.c: Fix warnings. + +Wed Jul 4 15:30:36 CEST 2007 Paolo Molaro + + * optflags-def.h, mini-x86.c: added sse2 optimization flag and use it + to emit better double->int conversions. + +Tue Jul 3 19:42:16 CEST 2007 Paolo Molaro + + * mini.c: the provided Min/Max optimizations are valid for unisgned + ints. + +2007-07-03 Rodrigo Kumpera + + * mini.c (can_access_method, can_access_field): methods moved to metadata/class.c and renamed to mono_method_can_access_method and mono_method_can_acesss_field + +2007-06-28 Miguel de Icaza + + * mini.c (mono_running_on_valgrind): Add support for reporting the + method and its boundaries to valgrind. + +2007-06-28 Martin Baulig + + * debug-debugger.h (MonoDebuggerInfo): Added `debugger_version'. + +2007-06-25 Zoltan Varga + + * ssa.c (visit_inst): Add support for OP_BR. Fixes #81946. + + * generic.2.cs: Add new test case. + +2007-06-25 Martin Baulig + + Merged the `debugger-dublin' branch. + + * debug-mini.c + (mono_debugger_insert_method_breakpoint): New public method. + (mono_debugger_remove_method_breakpoint): Likewise. + (mono_debugger_check_breakpoints): New static method. + (mono_debug_close_method): Call mono_debugger_check_breakpoints(). + + * debug-debugger.h (MonoDebuggerInfo): + Renamed (to keep backward compatibility in the vtable): + `insert_breakpoint' -> `old_insert_breakpoint'. + `remove_breakpoint' -> `old_remove_breakpoint'. + `create_string' -> `old_create_string'. + `lookup_class' -> `old_lookup_class'. + `lookup_type' -> removed; changed into a dummy field. + `lookup_assembly' -> `old_lookup_assembly'. + Added (same functionality, but different signature): + `create_string', `lookup_class', `lookup_assembly' + Added new: + `get_method_addr_or_bpt', `remove_method_breakpoint', + `runtime_class_init'. + + * debug-debugger.c: Merged the `debugger-dublin' branch. + +2007-06-23 Zoltan Varga + + * mini-amd64.c (peephole_pass_1): Optimize away moves at the beginning of the bb as + well. + (peephole_pass): Likewise. + +Fri Jun 22 09:17:08 CEST 2007 Paolo Molaro + + * driver.c: hopefully make setaffinity work also for ancient + versions of linux. + +2007-06-22 Atsushi Enomoto + + * driver.c : win32 build fix. + +Thu Jun 21 19:24:03 CEST 2007 Paolo Molaro + + * driver.c: check for the MONO_NO_SMP env var and bind to a single + processor if it is set. + +2007-06-21 Martin Baulig + + * debug-mini.h: New file. + + * debug-mini.c + (mono_debugger_insert_breakpoint_full): Moved here from + ../metadata/mono-debug-debugger.c. + (mono_debugger_remove_breakpoint): Likewise. + (mono_debugger_breakpoint_callback): Likewise. + +2007-06-15 Raja R Harinath + + * jit-icalls.c (mono_helper_compile_generic_method): Update to + changes in MonoGenericClass. + +2007-06-14 Zoltan Varga + + * mini-codegen.c (mono_opcode_to_type): Fix ia64 build. + +2007-06-14 Raja R Harinath + + * jit-icalls.c (mono_helper_compile_generic_method): Update to + removal of MonoGenericMethod. + +Thu Jun 14 12:42:04 CEST 2007 Paolo Molaro + + * mini-exceptions.c: hooks for the exception events profiling API. + +2007-06-14 Randolph Chung + + * Makefile.ma: Add hppa target. + * mini-arch.h: Include mini-hppa.h + * cpu-hppa.md, exceptions-hppa.c, inssel-hppa.brg, mini-hppa.c, + mini-hppa.h, tramp-hppa.c: New files for 32-bit HPPA port. + Contributed under the X11 license (http://bugzilla.ximian.com/show_bug.cgi?id=81866). + +2007-06-14 Randolph Chung + + * inssel.brg: Add rules for "chained" compare-branch operations so that + a single compare op can affect multiple branches. Adjust cost for + OP_CEQ/OP_CGT/OP_CGT_UN/OP_CLT/OP_CLT_UN. + * inssel-long32.brg: Update rules to use compare-branch macros. Adjust + cost for some rules so that they can more easily be overridden by + per-arch rules (with fixes from lupus). + Contributed under the X11 license (http://bugzilla.ximian.com/show_bug.cgi?id=81866). + +2007-06-13 Randolph Chung + + * mini-ops.h: Reorder branch ops so that they match the order of the + corresponding CEE_* ops. The code expects them this way. + Add new ops for HPPA target. + Contributed under the X11 license (http://bugzilla.ximian.com/show_bug.cgi?id=81866). + +2007-06-13 Randolph Chung + + * mini-exceptions.c: Handle cases where the stack grows towards + larger addresses. + Contributed under the X11 license (http://bugzilla.ximian.com/show_bug.cgi?id=81866). + +Wed Jun 13 19:13:23 CEST 2007 Paolo Molaro + + * jit-icalls.c, mini.h, mini.c: added virtual generic invoke + counter. + * driver.c: explain where a non-matching corlib is found. + +2007-06-13 Mark Probst + + * mini.c (print_jit_stats): Output dynamic code allocation stats. + +2007-06-10 Sanghyeon Seo + + * mini-exceptions.c: Generate a method profile leave event during + an exception to ensure that the profiler gets notified. + +2007-06-07 Zoltan Varga + + * mini-amd64.c (peephole_pass): Merge some small changes from the linear-ir + branch. + + * cpu-amd64.md: Add long_and/or/xor opcodes. + +2007-06-06 Wade Berrier + + * cpu-s390x.md (shr_imm): Correct the length of shr_imm instruction. + (./class/lib/monolite/mcs.exe:25498): WARNING **: wrong maximal instruction + length of instruction shr_imm (expected 8, got 10) + +2007-06-06 Zoltan Varga + + * mini-ia64.c (mono_arch_output_basic_block): Really fix the build. + +2007-06-06 Mark Probst + + * mini.c, driver.c: Changed MonoDomain.jit_code_hash to a + MonoInternalHashTable again (fixed bug in the internal hash table + code). + +2007-06-06 Mark Probst + + * mini.c, driver.c: Reverted the MonoInternalHashTable changes. + Have to figure out what makes it crash the SWF regression. + +2007-06-05 Zoltan Varga + + * mini-ia64.c (mono_arch_lowering_pass): Fix ia64 build. + +Tue Jun 5 17:40:04 CEST 2007 Paolo Molaro + + * mini.c: optimize out the type check when storing null in a + reference array. + +2007-06-04 Mark Probst + + * mini.c, driver.c: Changed MonoDomain.jit_code_hash to a + MonoInternalHashTable. + +Mon Jun 4 11:29:43 CEST 2007 Paolo Molaro + + * inssel.brg, mini.c, mini-ops.h: optimized Math.Mini/Max + signed integer methods. + +2007-06-02 Zoltan Varga + + * mini-x86.c (mono_arch_get_delegate_invoke_impl): Disable the static case + permanently since the current approach doesn't work. + +2007-06-02 Zoltan Varga + + * inssel.brg (stmt): Only call delegate->invoke_impl if + MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE is defined. + +2007-06-01 Zoltan Varga + + * mini-amd64.c (mono_arch_output_basic_block): Unify div/rem opcodes and handle + the sreg2==rdx case. + + * mini-amd64.c cpu-amd64.md: Correct length of r4const instruction and take into + account if it contains a rex prefix. + (peephole_pass): Handle OP_FMOVE as well. + +2007-06-01 Zoltan Varga + + * mini-x86.c (mono_arch_get_delegate_invoke_impl): Disable the static case for now + as it causes regressions. + 2007-05-31 Zoltan Varga + * mini-x86.c (mono_arch_get_delegate_invoke_impl): Implement support for the + static case as well. + + * tramp-ia64.c (mono_arch_create_trampoline_code): Fix ia64 build. + * mini-x86.c (mono_arch_get_delegate_invoke_impl): New arch dependent function. (mono_arch_get_this_arg_from_call): Ditto.