2010-02-08 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / mini / ChangeLog
index 6cb61c3743fc0197852ff9063881a1ce5fc4f267..2c309f9f1f98ea29641b56dcc6fb3d8136c782fd 100755 (executable)
@@ -1,3 +1,132 @@
+2010-02-08  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c (emit_code): Create the ut trampolines here, so they work for
+       llvm methods too.
+
+       * aot-compiler.c (emit_code): Don't add the llvm label prefix to 'methods', since
+       it is not an LLVM generated symbol.
+
+       * mini-llvm.c (emit_entry_bb): Fix the handling of simd types.
+
+       * method-to-ir.c (handle_castclass): Turn off the more efficient isinst/castclass
+       implementation in gshared mode because it causes regressions.
+
+       * mini-trampolines.c: Add a stat for the number of calls to trampolines.
+
+       * image-writer.c (asm_writer_emit_global): Don't prepend the global prefix, it
+       should be done by the caller.
+
+       * mini-llvm.c (mono_llvm_emit_method): Don't make the debug symbols global.
+
+       * aot-compiler.c (emit_code): Add the llvm label prefix before 'methods'.
+
+       * mini-exceptions.c (mini_jit_info_table_find): Search the root domain as well,
+       since mono_jit_info_table_find () doesn't do it anymore.
+
+       * mini-generic-sharing.c debugger-agent.c: Call mini_jit_info_table_find ()
+       instead of mono_jit_info_table_find ().
+
+2010-02-07  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c aot-runtime.c: Add support for MONO_WRAPPER_WRITE_BARRIER.
+
+       * aot-compiler.c (encode_method_ref): Update after the removal of
+       mono_gc_get_managed_allocator_type ().
+
+       * method-to-ir.c (mono_method_to_ir): Place a seq point just before a RET.
+       Fixes #564538.
+
+2010-02-06  Zoltan Varga  <vargaz@gmail.com>
+
+       * method-to-ir.c (handle_castclass): Use the icall for classes with variant
+       generic params as well.
+       (handle_isinst): Ditto.
+
+       * method-to-ir.c: Make isninst/castclass checks in gshared code more efficient
+       instead of always calling an icall.
+
+       * aot-compiler.c (emit_llvm_file): Take into account trampolines etc when
+       computing the size of the got.
+
+       * aot-compiler.c (emit_code): Change the way the 'methods' symbol is emitted
+       when using LLVM. Instead of emitting it as an LLVM method, emit it using
+       the assembly directive '.set' so it points to the first LLVM emitted method.
+
+2010-02-04  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * mini.c (mini_method_verify): Report the method which failed to verify.
+
+2010-02-04  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * method-to-ir.c (mono_method_to_ir): Use the new basic block formation pass
+       to avoid JIT'ng dead basic blocks. This is the same behavior as the
+       runtime MS verifier.
+
+2010-02-04  Zoltan Varga  <vargaz@gmail.com>
+
+       * debugger-agent.c (decode_value): Fix decoding of vtype instances. Fixes
+       #561962.
+
+2010-02-04  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-llvm.c: Init the jit module only when first JITting.
+
+       * aot-compiler.c (emit_plt): Fix the naming of plt entries of llvm+darwin.
+
+       * mini-llvm.c (get_plt_entry): Make the plt entries have hidden visibility.
+
+       * mini-llvm.c (mono_llvm_emit_aot_module): Remove the dummy got after it is
+       replaced with the real got.
+
+       * debugger-agent.c (type_commands): Return the enumness if the type as well.
+
+       * image-writer.c: Reduce the amount of #ifdefs a bit.
+
+       * aot-compiler.c: Reduce the amount of #ifdefs. Add beginnings of support for
+       llvm on darwin/arm.
+
+       * aot-compiler.c (mono_compile_assembly): Handle asmonly+llvm mode.
+
+       * mini-llvm.c (mono_llvm_emit_method): Don't make the 'type_info' symbols
+       global.
+
+2010-02-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-llvm.c (mono_llvm_emit_method): Add support for unaligned loads.
+       (mono_llvm_emit_method): Fix unaligned stores too.
+
+       * mini-amd64.c (mono_arch_emit_prolog): Initialize lmf->rsp in the prolog too
+       so async stack walks don't crash.
+
+2010-02-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-trampolines.c (common_call_trampoline): Fix a problem where the callsite
+       was not patched if the callee needed an rgctx trampoline.
+
+2010-02-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-ppc.c (mono_arch_get_global_int_regs): Reserve r29 for holding the
+       vtable address in AOT code.
+
+2010-02-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-codegen.c: Remove support for CEE_ opcodes which cannot occur in
+       MonoInst's.
+
+Mon Feb 1 16:29:10 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * genmdesc.pl: remove dependency on external cpp.
+
+2010-02-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * method-to-ir.c (mini_emit_ldelema_1_ins): Avoid emitting an OP_SEXT_I4 when
+       using LLVM, its not needed, and abcrem can't handle it.
+
+Mon Feb 1 14:29:43 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * genmdesc.c, genmdesc.pl, cpu-x86.md: introduced templates to make
+       it easier to group instructions and reduce duplication.
+
 2010-02-01  Zoltan Varga  <vargaz@gmail.com>
 
        * decompose.c: Move the array/soft float decompose routines here from