Fri Nov 10 18:38:15 CET 2006 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / mini / ChangeLog
index 3b93357a79b6ba8f69935c38e58f39297ee84e27..a2ded58420b0e44c7ec519487e30e606ffbe214c 100644 (file)
@@ -1,3 +1,266 @@
+
+Fri Nov 10 18:38:15 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c, jit-icalls.c, jit-icalls.h: added first cut at handling
+       loads and stores of 32 bit fp values.
+
+2006-11-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-sparc.c (is_regsize_var): Support PTR/FNPTR too.
+
+       * tramp-sparc.c (mono_arch_patch_callsite): Fix this function so it actually
+       works. Fixes #79852 and #79463.
+
+Thu Nov 9 16:56:13 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c, mini-codegen.c, jit-icalls.c, jit-icalls.h:
+       more soft-float support WIP and fixes.
+
+Wed Nov 8 16:40:02 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini-arm.c: some VFP updates.
+
+Tue Nov 7 19:45:51 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini-exceptions.c: 0 is a valid local var offset in some
+       architectures, don't assert (bug #78508).
+
+Tue Nov 7 18:17:52 GMT 2006 Paolo Molaro <lupus@ximian.com>
+
+       * exceptions-arm.c: fixed off by one error in stack walk code.
+
+Tue Nov 7 11:27:26 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h, mini.c: more precise tracking of type load exceptions.
+
+2006-11-03  Robert Jordan  <robertj@gmx.net>
+
+       * Makefile.am: [WIN32] Add monow.exe target.
+       * driver.c: [WIN32] Don't detach the console when debugging.
+       Fixes bug #79797.
+       
+2006-10-30  Miguel de Icaza  <miguel@novell.com>
+
+       * tramp-x86.c (mono_arch_patch_delegate_trampoline): Eliminate warning.
+
+2006-10-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c (emit_method_info): Add a case missed earlier.
+
+       * driver.c (mini_regression): Fix --regression with AOT.
+
+       * aot-compiler.c (emit_method_info): Fix AOT on amd64.
+
+2006-10-17  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (GET_CONTEXT): Correct the definition of this for sparc/linux.
+
+       * mini-sparc.h: Don't use sigaction on sparc/linux.
+
+       * exceptions-sparc.c: Call mono_arch_flush_icache () in a couple of places.
+
+       * mini-sparc.c (mono_sparc_flushw): Call mono_arch_flush_icache ().
+
+       * mini-exceptions.c: Add proper include files for getpid ().
+
+2006-10-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-runtime.c (mono_aot_get_method): Change this to return the native code
+       address instead of a MonoJitInfo* to avoid decoding the exception info for the
+       method.
+
+       * aot-runtime.c aot-compiler.c: Use uint16 instead of uint32 entries in the
+       name cache to reduce its size.
+
+       * mini.h (MONO_AOT_FILE_VERSION): Bump aot file format version.
+
+2006-10-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-x86.c: Save/restore the current LMF structure more efficiently using
+       the mono_lmf TLS variable.
+
+       * exceptions-x86.c (mono_arch_find_jit_info): Only access lmf->method in 
+       trampoline lmf frames.  
+
+       * mini-sparc.h (MONO_ARCH_ENABLE_EMIT_STATE_OPT): Define this on sparc as well.
+
+2006-10-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-amd64.c: Save/restore the current LMF structure more efficiently using
+       the mono_lmf TLS variable.
+
+       * mini-exceptions.c: Access the LMF structure through accessors.
+
+       * mini.c: Allow the backends the option for storing the lmf in a dedicated TLS 
+       variable instead of in jit_tls->lmf.
+
+       * mini-x86.c mini-amd64.c: Update after lmf->lmf_addr name change.
+       
+       * exceptions-amd64.c (mono_arch_find_jit_info): Only access lmf->method in 
+       trampoline lmf frames.
+
+       * mini-amd64.c (mono_arch_emit_prolog): Do not set lmf->method as it is not needed.
+
+2006-10-12  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c trace.c mini-x86.c: Revert these too.
+       
+       * mini.c trace.c mini-x86.c: Remove warning workarounds after the mono_type_size ()
+       signature change.
+
+Tue Oct 10 11:35:20 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * genmdesc.c: removed now dead code.
+
+2006-10-09  Robert Jordan <robertj@gmx.net>
+
+       * mini.c: Disable the CrashReporter on MacOS X; Fixes #74869
+
+Mon Oct 9 17:06:41 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h: do not leave gaps in the opcode values.
+
+Mon Oct 9 16:08:51 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * jit-icalls.h: flag functions as internal here, too.
+
+Mon Oct 9 15:58:18 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h, aliasing.h, declsec.h, regalloc.h, trace.h: mark internal
+       functions with the internal attribute.
+
+Mon Oct 9 15:52:45 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * aot-compiler.c: fclose the file descriptor in the profile read loop.
+
+Fri Oct 6 16:01:38 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c, jit-icalls.c, inssel-float.brg: beginnings of support
+       for soft-float.
+
+2006-10-05  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-x86.c (emit_load_volatile_arguments): New function to handle arguments of
+       tail calls as on other platforms.
+
+       * mini.c (mono_method_to_ir): Fix a few tailcall problems. Fixes #79557.
+
+       * iltests.il: Add a few tailcall tests.
+
+Tue Oct 3 16:33:08 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * driver.c: fix loop for old compilers (bug #79521).
+
+2006-10-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-exceptions.c (ves_icall_get_trace): Remove debug printf.
+
+       * aot-runtime.c (mono_aot_get_class_from_name): Avoid a memory allocation.
+
+       * aot-compiler.c: Add a new option 'metadata-only' to only emit the cached
+       metadata without any code.
+
+       * mini-exceptions.c (mono_handle_native_sigsegv): Add some code to print out
+       more precise debugging information using gdb.
+
+2006-09-30  Zoltan Varga  <vargaz@gmail.com>
+
+       * inssel-ia64.brg: Make the helper methods static.
+
+Thu Sep 28 16:40:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * inssel-x86.brg: make the helper methods static.
+
+Thu Sep 28 16:31:32 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * inssel-amd64.brg, mini-amd64.c: small cleanup, use inst_call.
+
+Thu Sep 28 15:36:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c: updates for monoburg changes.
+       * inssel.brg: make a few helper functions static as they should.
+
+2006-09-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * Makefile.am: Move mini-codegen.c to common_sources.
+
+Wed Sep 27 15:07:08 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h: instroduce inst_call in MonoInst for use in OUTARG
+       instructions.
+       * Makefile.am, cpu-g4.md, inssel-ppc.brg, mini-codegen.c, mini-ppc.c,
+       mini-ppc.h: port to use the common local register allocator.
+
+2006-09-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h: Remove the comment too then.
+
+Tue Sep 26 14:02:58 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h: put back backend.data which is to be used shortly and
+       doesn't increase the size of MonoInst. If any 64 bit arch aligned
+       pointers on 4 byte boundaries it'd have much bigger issues running
+       and you can ifdef it out anyway.
+
+2006-09-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h (MonoInst): Remove backend.data field since it is unused and increases
+       MonoInst size by 4 bytes on 64 bit machines.
+
+Tue Sep 26 11:57:26 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * *.{c,h,brg}: long due removal of the unused field in MonoInst and
+       replacement with more meaningful field names. Arch maintainers, please
+       check the assigned names are good enough for your arch.
+
+2006-09-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * cpu-ia64.md mini-ia64.c inssel-ia64.brg mini-ops.h: Get rid of the 
+       OP_IA64_FETCHADD opcodes, use OP_ATOMIC_ADD_IMM_NEW opcodes instead.
+
+Mon Sep 25 11:05:24 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h, driver.c, optflags-def.h, Makefile.am: reduce runtime
+       relocations and memory requirements, put the optimization flags
+       definitions in their own file.
+
+2006-09-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * jit-icalls.c (mono_helper_stelem_ref): Remove this unused helper function.
+
+       * mini.c (mini_init): Remove reference to mono_helper_stelem_ref.
+
+2006-09-22  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-amd64.c (add_valuetype): Fix an uninitialized memory issue.
+
+Thu Sep 21 19:06:09 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * inssel.brg: use the correct function to get the size of an item
+       in an array, given an element class.
+       * aot-compiler.c: do not access class->class_size directly.
+
+Thu Sep 21 12:10:56 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h, debug-mini.c: added a debugging function to print
+       info about local variables and arguments in a jitted method.
+
+2006-09-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-alpha.c: More alpha port work from Sergey Tikhonov <tsv@solvo.ru>.
+
+       * exceptions-ia64.c: Fix some problems reported by Bill Seurer <seurer@us.ibm.com>.
+
+2006-09-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-ia64.c (mono_arch_call_opcode): Avoid using the same loop index in the
+       inner and outer loops when passing vtypes.
+
+Tue Sep 19 17:53:40 CEST 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini-ppc.c: take into account the cpu errata for cache flushing
+       which caused some random errors (bug #79381).
+
 2006-09-19  Zoltan Varga  <vargaz@gmail.com>
 
        * mini-amd64.c (mono_arch_emit_exceptions): Emit the call to