1 2008-10-15 Rodrigo Kumpera <rkumpera@novell.com>
3 * x86/x86-codegen.h: Add packed int max/min/avg/shuffle and extract mask.
5 2008-10-14 Rodrigo Kumpera <rkumpera@novell.com>
7 * x86/x86-codegen.h: Add movsldup and movshdup.
9 2008-10-13 Rodrigo Kumpera <rkumpera@novell.com>
11 * x86/x86-codegen.h: Add remaining FP sse1 ops.
12 Add sse ps encoding with imm operand.
13 Add remaining sse1 ops.
15 2008-10-12 Rodrigo Kumpera <rkumpera@novell.com>
17 * x86/x86-codegen.h: Add macro for sse41 ops.
18 Add defined for pack ops, dword shifts/mul/pack.
20 2008-10-11 Zoltan Varga <vargaz@gmail.com>
22 * amd64/amd64-codegen.h (amd64_jump_code_size): Fix the 64 bit support.
24 2008-10-10 Zoltan Varga <vargaz@gmail.com>
26 * amd64/amd64-codegen.h (amd64_jump_code_size): Handle non 32-bit targets.
28 2008-10-09 Rodrigo Kumpera <rkumpera@novell.com>
30 * x86/x86-codegen.h: Add macros for sse shift, pack, unpack,
31 saturated math and packed byte/word/dword math.
33 2008-10-03 Rodrigo Kumpera <rkumpera@novell.com>
35 * x86/x86-codegen.h: Add macros for SSE instructions.
37 2008-09-27 Mark Probst <mark.probst@gmail.com>
39 * ppc/ppc-codegen.h: A few typecasts to fix compiler warnings.
41 2008-09-07 Mark Probst <mark.probst@gmail.com>
43 * ppc/ppc-codegen.h (ppc_load): Inserted cast to fix some
46 2008-06-16 Mark Probst <mark.probst@gmail.com>
48 * amd64/amd64-codegen.h: Removed extraneous parenthesis in a macro
51 2008-06-06 Zoltan Varga <vargaz@gmail.com>
53 * amd64/amd64-codegen.h (amd64_padding_size): Rewrite this to use the
54 instructions recommended by the amd64 manual.
56 2008-04-19 Zoltan Varga <vargaz@gmail.com>
58 * amd64/amd64-codegen.h (amd64_is_imm32): Use gint64 instead of glong because of
61 2008-03-13 Geoff Norton <gnorton@novell.com>
63 * arch/arm/tramp.c: Dont compile this on PLATFORM_MACOSX
65 2008-02-18 Zoltan Varga <vargaz@gmail.com>
67 * amd64/amd64-codegen.h (amd64_movsxd_reg_mem): New codegen macro.
69 2008-02-14 Zoltan Varga <vargaz@gmail.com>
71 * amd64/amd64-codegen.h (amd64_alu_membase8_imm_size): New codegen macro.
73 2008-02-08 Zoltan Varga <vargaz@gmail.com>
75 * arm/arm-codegen.h: Fix the ordering of arguments for some load/store opcodes
76 so they are consistent.
78 2008-01-24 Zoltan Varga <vargaz@gmail.com>
80 * Makefile.am (SUBDIRS): Or if INTERP_SUPPORTED is true.
82 * Makefile.am (SUBDIRS): Only set this on arm.
84 2007-11-20 Zoltan Varga <vargaz@gmail.com>
86 * amd64/amd64-codegen.h (amd64_alu_reg_imm_size): Prefer the smaller
89 2007-11-03 David S. Miller <davem@davemloft.net>
91 * sparc/sparc-codegen.h (sparc_set32, sparc_set): A plain sethi
92 can be used if the constant value only has the top 22 bits set.
94 2007-11-01 Geoff Norton <gnorton@novell.com>
96 * x86/Makefile.am: Only compile tramp.c if INTERP_SUPPORTED is true
97 Fixes the build on Leopard.
99 2007-11-01 Geoff Norton <gnorton@novell.com>
101 * ppc/Makefile.am: Only compile tramp.c if INTERP_SUPPORTED is true
102 Fixes the build on Leopard.
104 2007-10-26 Jonathan Chambers <joncham@gmail.com>
106 * amd64/amd64-codegen.h: Begin Win64 port. Use AMD64_ARG_REG#
107 defines to access param registers. Replace long usage with
108 gsize as sizeof(long) != sizeof(void*) on Win64.
110 Code is contributed under MIT/X11 license.
112 2007-10-09 Zoltan Varga <vargaz@gmail.com>
114 * amd64/amd64-codegen.h (amd64_jump_membase_size): Remove an unneccesary
115 rex prefix which trips up valgrind.
117 2007-07-14 Zoltan Varga <vargaz@gmail.com>
119 * amd64/amd64-codegen.h: Remove some unused rex prefixes.
121 Wed Jul 4 15:29:07 CEST 2007 Paolo Molaro <lupus@ximian.com>
123 * x86/x86-codegen.h: added minimal sse instructions currently
126 2007-06-13 Randolph Chung <tausq@debian.org>
128 * hppa/hppa-codegen.h: Update with more instructions.
129 * hppa/tramp.c: Disable for linux since we don't support the
132 2007-05-20 Zoltan Varga <vargaz@gmail.com>
134 * amd64/amd64-codegen.h (amd64_call_reg): Remove a got prefix which isn't needed.
136 2007-04-23 Zoltan Varga <vargaz@gmail.com>
138 * alpha/alpha-codegen.h: More alpha port work from
139 Sergey Tikhonov <tsv@solvo.ru>.
141 Mon Mar 12 17:07:32 CET 2007 Paolo Molaro <lupus@ximian.com>
143 * amd64/amd64-codegen.h: removed some useless size rex prefixes.
145 Wed Jan 24 21:00:40 CET 2007 Paolo Molaro <lupus@ximian.com>
147 * arm/arm-codegen.h: fixed encoding of short/byte load/store
148 instructions with negative immediate offsets.
150 Mon Nov 20 17:36:45 CET 2006 Paolo Molaro <lupus@ximian.com>
152 * arm/arm-codegen.h: added suppot for thumb interworking instructions.
154 Wed Nov 15 16:56:53 CET 2006 Paolo Molaro <lupus@ximian.com>
156 * mips/*: fixes by Mark E Mason <mark.e.mason@broadcom.com>.
158 2006-09-12 Zoltan Varga <vargaz@gmail.com>
160 * alpha/alpha-codegen.h: More alpha updates from Sergey Tikhonov <tsv@solvo.ru>.
162 Tue Sep 12 13:09:56 CEST 2006 Paolo Molaro <lupus@ximian.com>
164 * arm/*: VFP floating point format code generation support.
166 2006-09-12 Zoltan Varga <vargaz@gmail.com>
168 * ia64/ia64-codegen.h: Add xmpy_l/u pseudo ops.
170 2006-07-19 Zoltan Varga <vargaz@gmail.com>
172 * amd64/amd64-codegen.h: Fix amd64_mov_mem_reg.
174 * alpha/alpha-codegen.h alpha/test.c alpha/tramp.c: Applied patch from
175 Sergey Tikhonov <tsv@solvo.ru>. Updates to alpha support.
177 Thu Jun 15 16:59:36 CEST 2006 Paolo Molaro <lupus@ximian.com>
179 * ppc/ppc-codegen.h: reduce noisy build warnings by
180 casting to the more commonly used unsigned char type
181 (from johannes@sipsolutions.net (Johannes Berg)).
183 2006-05-14 Zoltan Varga <vargaz@gmail.com>
185 * ia64/ia64-codegen.h (ia64_fetchadd8_acq_hint_pred): Fix encoding of this
188 2006-04-21 Zoltan Varga <vargaz@gmail.com>
190 * Makefile.am (SUBDIRS): Revert the last change as arm depends on the old
193 2006-04-12 Zoltan Varga <vargaz@gmail.com>
195 * sparc/sparc-codegen.h (sparc_inst_i): New disassembly macro.
197 2006-04-04 Zoltan Varga <vargaz@gmail.com>
199 * Makefile.am (SUBDIRS): Avoid compiling subdirs needed by the
202 2005-12-22 Zoltan Varga <vargaz@gmail.com>
204 * sparc/sparc-codegen.h (sparc_membar): Add membar instruction.
206 2005-10-30 Zoltan Varga <vargaz@gmail.com>
208 * ia64/ia64-codegen.h (ia64_m17): Fix a warning.
210 2005-10-16 Zoltan Varga <vargaz@freemail.hu>
212 * amd64/amd64-codegen.h (AMD64_CALLEE_SAVED_REGS): Add %rbp.
214 2005-09-27 Raja R Harinath <rharinath@novell.com>
216 * arm/dpiops.sh, arm/fpaops.h: Output to stdout.
217 * arm/Makefile.am (arm_dpimacros.h, arm_fpamacros.h): Update. Fix
218 for srcdir != builddir.
220 2005-09-11 Zoltan Varga <vargaz@gmail.com>
222 * ia64/ia64-codegen.h (ia64_unw_pop_frames): New unwind macro.
224 2005-09-10 Zoltan Varga <vargaz@gmail.com>
226 * ia64/ia64-codegen.h: Remove 'manual' emitting of instructions.
227 Integrate emission of unwind directives into the assembly macros.
229 2005-09-04 Zoltan Varga <vargaz@gmail.com>
231 * ia64/ia64-codegen.h (ia64_no_stop): New macro.
233 2005-08-27 Zoltan Varga <vargaz@gmail.com>
235 * ia64/ia64-codegen.h: Fix some bugs.
237 * ia64/codegen.c: Update to work with latest ia64-codegen.h
239 2005-08-26 Zoltan Varga <vargaz@gmail.com>
241 * ia64/Makefile.am: Distribute ia64-codegen.h.
243 2005-08-21 Zoltan Varga <vargaz@freemail.hu>
245 * ia64/ia64-codegen.h: Improve ins scheduling and fix some bugs.
247 2005-08-17 Zoltan Varga <vargaz@freemail.hu>
249 * ia64/ia64-codegen.h: Add dependency information for all instructions.
251 2005-07-30 Zoltan Varga <vargaz@freemail.hu>
253 * ia64/ia64-codegen.h: Ongoing IA64 work.
255 Wed Jul 20 18:01:54 BST 2005 Paolo Molaro <lupus@ximian.com>
257 * arm/*: more codegen macros.
259 2005-07-18 Zoltan Varga <vargaz@freemail.hu>
261 * ia64/ia64-codegen.h (ia64_is_adds_imm): Ongoing IA64 work.
263 2005-06-23 Zoltan Varga <vargaz@freemail.hu>
265 * ia64/ia64-codegen.h: Add some new pseudo ops.
267 2005-06-19 Zoltan Varga <vargaz@freemail.hu>
269 * ia64/ia64-codegen.h: Fix encoding of ia64_fclass.
271 2005-06-12 Zoltan Varga <vargaz@freemail.hu>
273 * ia64/ia64-codegen.h: Ongoing IA64 work.
275 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
277 * ia64/ia64-codegen.h: Ongoing IA64 work.
279 2005-05-30 Zoltan Varga <vargaz@freemail.hu>
281 * ia64/codegen.c: Fix it after latest changes.
283 2005-05-29 Zoltan Varga <vargaz@freemail.hu>
285 * ia64/ia64-codegen.h: Ongoing IA64 work.
287 * ia64/ia64-codegen.h: Ongoing IA64 work.
289 2005-05-28 Zoltan Varga <vargaz@freemail.hu>
291 * ia64/ia64-codegen.h: Ongoing IA64 work.
293 * ia64/ia64-codegen.h: Ongoing IA64 work.
295 * ia64/ia64-codegen.h: Ongoing IA64 work.
297 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
299 * ia64/ia64-codegen.h: Ongoing IA64 work.
301 2005-05-22 Zoltan Varga <vargaz@freemail.hu>
303 * ia64/ia64-codegen.h: Ongoing IA64 work.
305 * ia64/ia64-codegen.h: Ongoing IA64 work.
307 * ia64/ia64-codegen.h: Ongoing IA64 work.
309 2005-05-21 Zoltan Varga <vargaz@freemail.hu>
311 * ia64/ia64-codegen.h: Ongoing IA64 work.
313 2005-05-19 Zoltan Varga <vargaz@freemail.hu>
315 * ia64/ia64-codegen.h ia64/codegen.c: Ongoing ia64 work.
317 2005-05-18 Zoltan Varga <vargaz@freemail.hu>
319 * ia64/ia64-codegen.h (ia64_codegen_init): Rename macro parameter.
321 2005-05-14 Zoltan Varga <vargaz@freemail.hu>
323 * Makefile.am: Only compile libmonoarch if the interpreter is compiled.
325 * ia64/ia64-codegen.h: Add IA64 code generation macros.
327 * Makefile.am: Add ia64 subdir.
329 2005-05-05 Zoltan Varga <vargaz@freemail.hu>
331 * alpha/tramp.c: Applied patch from Jakub Bogusz <qboosh@pld-linux.org>.
333 2005-03-28 Zoltan Varga <vargaz@freemail.hu>
335 * amd64/amd64-codegen.h: Avoid emitting a rex in some places.
337 2005-03-15 Zoltan Varga <vargaz@freemail.hu>
339 * amd64/amd64-codegen.h (amd64_emit_rex): Emit a rex when accessing the
342 * amd64/amd64-codegen.h (AMD64_BYTE_REGS): Add AMD64_BYTE_REGS macro.
344 2005-03-14 Zoltan Varga <vargaz@freemail.hu>
346 * amd64/amd64-codegen.h: Add missing AMD64_XMM7.
348 2005-03-13 Zoltan Varga <vargaz@freemail.hu>
350 * amd64/amd64-codegen.h: Remove some unneccesary REXes.
352 2005-03-08 Zoltan Varga <vargaz@freemail.hu>
354 * amd64/amd64-codegen.h (amd64_sse_cvtsi2sd_reg_reg_size): Add _size
355 variants to some sse2 macros.
357 * amd64/amd64-codegen.h (amd64_sse_cvtsd2si_reg_reg): Make this convert
360 2005-03-06 Zoltan Varga <vargaz@freemail.hu>
362 * amd64/amd64-codegen.h: Add some SSE2 instructions.
364 2005-02-20 Zoltan Varga <vargaz@freemail.hu>
366 * amd64/amd64-codegen.h: Add xadd instructions.
368 * amd64/amd64-codegen.h (amd64_jump_code_size): Do not emit a rex.
370 2004-11-25 Zoltan Varga <vargaz@freemail.hu>
372 * amd64/amd64-codegen.h: Updates to support the PIC changes.
374 Fri Nov 19 17:29:22 CET 2004 Paolo Molaro <lupus@ximian.com>
376 * ppc/ppc-codegen.h: counter reg decrement branch values
377 (patch by Geoff Norton <gnorton@customerdna.com>).
379 2004-11-16 Patrik Torstensson <patrik.torstensson@gmail.com>
381 * x86/x86-codegen.h: added opcodes for xadd instructions
383 2004-11-15 Zoltan Varga <vargaz@freemail.hu>
385 * amd64/x86-64-codegen.h: Get rid of this.
387 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
389 * amd64/amd64-codegen.h (amd64_imul_reg_membase_size): Fix REX
392 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
394 * amd64/amd64-codegen.h: More SSE work.
396 * amd64/amd64-codegen.h: Add SSE2 instructions.
398 2004-08-21 Zoltan Varga <vargaz@freemail.hu>
400 * amd64/amd64-codegen.h (X86_IS_BYTE_REG): Redefine X86_IS_BYTE_REG
401 since under amd64, all 16 registers have a low part.
403 2004-08-16 Zoltan Varga <vargaz@freemail.hu>
405 * x86/x86-codegen.h: Add macros for accessing the mod/rm byte.
407 2004-07-30 Zoltan Varga <vargaz@freemail.hu>
409 * amd64/amd64-codegen.h: Ongoing JIT work.
411 2004-07-29 Ben Maurer <bmaurer@ximian.com>
413 * x86/x86-codegen.h: Add opcodes for cmp BYTE PTR [eax], imm
415 2004-07-28 Zoltan Varga <vargaz@freemail.hu>
417 * amd64/amd64-codegen.h: Ongoing JIT work.
419 2004-07-24 Zoltan Varga <vargaz@freemail.hu>
421 * amd64/amd64-codegen.h: Ongoing JIT work.
423 2004-07-23 Zoltan Varga <vargaz@freemail.hu>
425 * amd64/amd64-codegen.h: Ongoing JIT work.
427 2004-07-23 zovarga <vargaz@freemail.hu>
429 * amd64/amd64-codegen.h: Ongoing JIT work.
431 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
433 * sparc/sparc-codegen.h: Add SPARC64 support.
435 2004-05-07 Bernie Solomon <bernard@ugsolutions.com>
437 * ppc/ppc-codegen.h: remove GCC-ism in ppc_emit32
439 2004-04-29 Bernie Solomon <bernard@ugsolutions.com>
441 * ppc/tramp.c: use sizeof (stackval), fix
442 delegate tramp frame layout for Apple
444 2004-04-26 David Waite <mass@akuma.org>
446 * unknown.c: modify to have content for defined platforms (to
449 2004-03-29 Bernie Solomon <bernard@ugsolutions.com>
458 remove child from MonoInvocation as it isn't used.
460 * hppa/hppa-codegen.h:
461 fix displacements in FP instrs
463 2004-03-23 Bernie Solomon <bernard@ugsolutions.com>
465 * hppa/hppa-codegen.h: created
467 * hppa/tramp.c: changed style to be more like
470 * hppa/Makefile.am: add hppa-codegen.h
472 2004-03-16 Zoltan Varga <vargaz@freemail.hu>
474 * sparc/sparc-codegen.h: Add v9 branches with prediction.
476 2004-03-15 Bernie Solomon <bernard@ugsolutions.com>
478 * sparc/sparc-codegen.h: tweak sparc_mov_reg_reg
479 so Sun's dis command recognizes it.
481 2004-03-15 Zoltan Varga <vargaz@freemail.hu>
483 * sparc/sparc-codegen.h: Add some v9 instructions.
485 2004-03-11 Zoltan Varga <vargaz@freemail.hu>
487 * sparc/sparc-codegen.h: Ongoing sparc work.
489 2004-03-07 Duncan Mak <duncan@ximian.com>
491 * Makefile.am: Removed the reference to 'x86-64'. This was the cause
492 of the missing Mono daily tarballs, 'make dist' wasn't working.
494 We do have an 'amd64' directory, but it doesn't make it in 'make
497 2004-02-19 Zoltan Varga <vargaz@freemail.hu>
499 * sparc/sparc-codegen.h: Fix lots of opcodes + add new ones.
501 * sparc/tramp.c: Fix alignment of structures containing doubles.
503 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
505 * sparc/tramp.c: Implement all floating point argument passing conventions in
506 Sparc V8. Also fix structure passing in V8.
508 Thu Nov 13 16:24:29 CET 2003 Paolo Molaro <lupus@ximian.com>
510 * ppc/ppc-codegen.h: fixed most of the incorrect macros from ct.
512 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
514 * */tramp.c (mono_create_method_pointer): Rename to
515 mono_arch_create_method_pointer, move common code to a new function in
518 * */tramp.c (mono_create_trampoline): Rename to
519 mono_arch_create_trampoline for consistency.
521 2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
523 * x86/tramp.c: restore EDX after memcpy call
525 2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
527 * Makefile.am: add hppa subdir
529 * hppa/tramp.c: add initial implementation - this is 64 bit only
530 hppa/Makefile.am hppa/.cvsignore: added
532 2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
534 * sparc/sparc-codegen.h sparc/tramp.c: add initial implementation
535 for V9 (64 bit), cover more 32 bit cases as well.
537 2003-09-03 Zoltan Varga <vargaz@freemail.hu>
539 * x86/tramp.c: Fixes from Bernie Solomon (bernard@ugsolutions.com).
541 2003-08-21 Zoltan Varga <vargaz@freemail.hu>
543 * x86/tramp.c: Fixes from Bernie Solomon (bernard@ugsolutions.com).
545 Tue Jul 1 13:03:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
547 * alpha/tramp.c: update from Laramie Leavitt (lar@leavitt.us).
549 2003-05-20 Dietmar Maurer <dietmar@ximian.com>
551 * x86/x86-codegen.h (x86_set_reg): add an assertion - it does
552 not work for all registers.
554 Sat Feb 1 10:59:31 CET 2003 Paolo Molaro <lupus@ximian.com>
556 * alpha/*: update from Laramie.
558 Mon Jan 27 12:49:10 CET 2003 Paolo Molaro <lupus@ximian.com>
560 * alpha/*: start of the port to the alpha architecture by
561 Laramie Leavitt (<lar@leavitt.us>).
563 Tue Jan 21 17:29:53 CET 2003 Paolo Molaro <lupus@ximian.com>
565 * ppc/ppc-codegen.h: completed ppc native code generation by
566 Taylor Christopher P <ct@cs.clemson.edu>.
568 Fri Jan 17 21:14:18 CET 2003 Paolo Molaro <lupus@ximian.com>
570 * ppc/tramp.c: adapted to work for MacOSX (from a patch by
573 2002-11-11 Mark Crichton <crichton@gimp.org>
575 * sparc/tramp.c: Added some disassembly bits for debugging.
577 2002-10-02 Mark Crichton <crichton@gimp.org>
579 * sparc/tramp.c: More cleanup of the trampoline code. Still some
580 problems with it w.r.t. delegates.
582 2002-09-25 Mark Crichton <crichton@gimp.org>
584 * sparc/tramp.c: Off by one error. Whoops. Trampoline code should
587 2002-09-24 Mark Crichton <crichton@gimp.org>
589 * sparc/tramp.c: Works as well as the old code did. Cleanup is
590 finished. The framework now for adding more type support is in,
591 and should be a *lot* cleaner.
593 2002-09-22 Mark Crichton <crichton@gimp.org>
595 * sparc/tramp.c: Completely broke trampolining on SPARC processors.
596 The code needed a nasty cleanup, so most of it is rewritten.
599 2002-08-20 Mark Crichton <crichton@gimp.org>
601 * sparc/tramp.c (mono_create_trampoline): Now works on Sparc. Tested
602 on an Ultra 2 running Linux.
604 Mon Aug 5 19:21:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
606 * x86/tramp.c: fix random memory read in mono_create_method_pointer.
608 2002-08-05 Dietmar Maurer <dietmar@ximian.com>
610 * x86/tramp.c (mono_create_trampoline): fixed stack_size bug
612 2002-08-01 Dietmar Maurer <dietmar@ximian.com>
614 * x86/tramp.c (mono_create_method_pointer): allocate space for
616 (mono_create_trampoline): also push the value type pointer for
617 methods returning value types.
618 (mono_create_method_pointer): support valuetype returns.
620 2002-07-31 Dietmar Maurer <dietmar@ximian.com>
622 * x86/tramp.c: remove code to handle PInvoke because this is no
624 (mono_create_method_pointer): return method->addr for pinvoke methods
626 Fri Jul 19 14:18:36 CEST 2002 Paolo Molaro <lupus@ximian.com>
628 * x86/tramp.c: fix float loads. Simple delegate marshaling fix.
630 2002-07-08 Radek Doulik <rodo@ximian.com>
632 * ppc/tramp.c: marshaling for SZARRAY
634 2002-07-05 Radek Doulik <rodo@ximian.com>
636 * ppc/tramp.c: removed magic hack
638 Tue Jun 18 10:21:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
640 * x86/tramp.c: marshal simple arrays correctly.
642 2002-05-27 Miguel de Icaza <miguel@ximian.com>
644 * x86/x86-codegen.h: Set the standard header format.
646 2002-05-23 Dietmar Maurer <dietmar@ximian.com>
648 * x86/tramp.c (mono_create_method_pointer): removed the magic
649 trick to store the function pointer in the prolog and use the same
650 mechanism as in the jit.
652 2002-05-13 Radek Doulik <rodo@ximian.com>
654 * ppc/tramp.c (emit_save_parameters): fix I8 parameters
656 2002-05-06 Sergey Chaban <serge@wildwestsoftware.com>
658 * x86/x86-codegen.h: added missing shifts;
659 8-bit ALU operations (reg-reg);
660 macro for FPU ops with integer operand;
661 FIST macro (without pop);
663 Mon Apr 22 12:57:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
665 * x86/x86-codegen.h: added loop instructions and made x86_patch fully
668 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
670 * x86/tramp.c (mono_create_trampoline): support internalcall
673 Sat Apr 6 16:29:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
675 * x86/tramp.c: fix advancement of argument position on the stack.
677 Sat Mar 16 19:12:57 CET 2002 Paolo Molaro <lupus@ximian.com>
679 * x86/tramp.c: increase default allocated size for trampolines
680 and assert on overflow.
682 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
684 * x86/tramp.c (mono_create_trampoline): dont use fld/fst to copy
687 Mon Mar 11 16:14:29 CET 2002 Paolo Molaro <lupus@ximian.com>
689 * x86/x86-codegen.h: addex x86_clear_reg() and changed
690 x86_mov_reg_imm() to not check for imm == 0.
692 Thu Feb 28 12:34:21 CET 2002 Paolo Molaro <lupus@ximian.com>
694 * x86/tramp.c: start handling of more complex marshaling stuff.
696 2002-02-25 Sergey Chaban <serge@wildwestsoftware.com>
698 * arm: added ARM support code.
699 * Makefile.am: added arm to DIST_SUBDIRS.
701 2002-02-24 Radek Doulik <rodo@ximian.com>
703 * ppc/tramp.c (mono_create_method_pointer): basic delegates
704 implementation, it works for simple delegates now and I am already
705 pretty close to have it working for every delegates, but I am
706 going to sleep and finish it tomorrow?
707 (mono_create_method_pointer): implements delegates with parameters
710 2002-02-22 Jeffrey Stedfast <fejj@ximian.com>
712 * sparc/tramp.c (mono_create_trampoline): Much tinkering to get
713 the opcodes more correct. Still needs a lot of work.
715 2002-02-19 Radek Doulik <rodo@ximian.com>
717 * ppc/tramp.c (emit_save_parameters): don't start saving 64bit values to
719 added stack saving for most arguments
721 Tue Feb 19 20:19:38 CET 2002 Paolo Molaro <lupus@ximian.com>
723 * x86/tramp.c: avoid pointer arthmetric (pointed out by Serge).
725 2002-02-17 Radek Doulik <rodo@ximian.com>
727 * ppc/tramp.c: fixed minimal stack size, fixed string parameters,
728 fix byte and half word parameters
729 (mono_string_new_wrapper): new helper function, cut&pasted from
730 x86, modified to check for NULL text to avoid branching in
732 (calculate_sizes): updated for string retval changes
733 (emit_call_and_store_retval): updated for string retval
735 * ppc/ppc-codegen.h (ppc_mr): added lhz, lbz, sth
737 2002-02-16 Radek Doulik <rodo@ximian.com>
739 * ppc/tramp.c (emit_call_and_store_retval): support U2, I2, CHAR
741 Mon Feb 11 18:40:04 CET 2002 Paolo Molaro <lupus@ximian.com>
743 * sparc/*: sparc codegen header and some untested trampoline code.
745 Mon Feb 11 12:32:35 CET 2002 Paolo Molaro <lupus@ximian.com>
747 * x86/tramp.c: fix handling of multiple marshaleed strings.
748 * x86/x86-codegen.h: some code to patch branch displacements.
750 Fri Feb 1 16:03:00 CET 2002 Paolo Molaro <lupus@ximian.com>
752 * x86/tramp.c, ppc/tramp.c: implement mono_method_pointer_get ().
754 2002-01-23 Miguel de Icaza <miguel@ximian.com>
756 * x86/tramp.c (mono_create_trampoline): Do not try to create a
757 mono_string_new if the return value from the PInvoke code is
760 Mon Jan 14 11:50:16 CET 2002 Paolo Molaro <lupus@ximian.com>
762 * x86/x86-codegen.c: added overflow condition code and some aliases
765 Thu Jan 10 21:01:08 CET 2002 Paolo Molaro <lupus@ximian.com>
767 * x86/tramp.c: mono_create_trampoline (): the runtime argument is
768 needed to handle correctly delegates, the previous change in handling
769 the string return type broke them.
771 Tue Jan 8 22:38:41 MST 2002 Matt Kimball <matt@kimball.net>
773 * x86/tramp.c: handle strings returned from functions in external
774 libraries by converting to a Mono string object after the pinvoke'd
777 Sat Jan 5 15:51:06 CET 2002 Paolo Molaro <lupus@ximian.com>
779 * x86/tramp.c: handle short integer return types.
781 Thu Dec 20 20:13:07 CET 2001 Paolo Molaro <lupus@ximian.com>
783 * x86/tramp.c: fix create_method_pointer() to pass the arguments
784 correctly and add check for overflow.
786 Thu Dec 13 15:56:53 CET 2001 Paolo Molaro <lupus@ximian.com>
788 * x86/x86-codegen.h: x86_mov_memindex_imm() added.
790 2001-11-29 Radek Doulik <rodo@ximian.com>
792 * ppc/tramp.c: use r12 which is volatile instead of non-volatile
795 * Makefile.am (libmonoarch_la_LIBADD): added ppc to DIST_SUBDIRS
796 generate libmonoarch for ppc
798 Tue Nov 27 15:24:07 CET 2001 Paolo Molaro <lupus@ximian.com>
800 * x96/x86-codegen.c: x86_lea_memindex() added.
802 Thu Nov 15 17:41:01 CET 2001 Paolo Molaro <lupus@ximian.com>
804 * x86/tramp.c: handle enums with underlying type different from int32.
806 Wed Nov 14 19:21:26 CET 2001 Paolo Molaro <lupus@ximian.com>
808 * x86/tramp.c: handle boolean as a return value.
809 * x96/x86-codegen.c: x86_widen_memindex() added.
811 2001-11-07 Miguel de Icaza <miguel@ximian.com>
813 * x86/tramp.c: Include stdlib to kill warning.
815 Mon Oct 22 15:20:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
817 * x86/tramp.c: handle boolean, u1 and i1 as return values.
819 Wed Oct 10 16:07:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
821 * x86/x86-codegen.c: added x86_set_{reg,mem,membase}.
823 Mon Oct 8 16:13:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
825 * x86/tramp.c: remove mono_get_ansi_string () and use
826 mono_string_to_utf8 () instead.
828 Thu Oct 4 19:09:13 CEST 2001 Paolo Molaro <lupus@ximian.com>
830 * x86/tramp.c: allow marshalling valuetypes if they are
833 Mon Oct 1 18:48:27 CEST 2001 Paolo Molaro <lupus@ximian.com>
835 * x86/tramp.c: fix thinko (s/SUB/ADD/) in stack adjustment
836 and avoid a couple of unnecessary instructions.
838 Fri Sep 28 19:43:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
840 * x86/tramp.c: marshal valuetypes that are enums.
842 Thu Sep 27 15:34:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
844 * x86/x86-codegen.h: in memindex operand you can use X86_NOBASEREG
847 Wed Sep 26 16:29:36 CEST 2001 Paolo Molaro <lupus@ximian.com>
849 * x86/x86-codegen.h: added memindex addressing mode encoding
850 (and mov to/from register opcodes).
852 Mon Sep 24 18:49:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
854 * x86/tramp.c: don't change a MONO_TYPE_STRING to a char*
855 when it's an argument to an internalcall.
857 Sun Sep 23 13:44:57 CEST 2001 Paolo Molaro <lupus@ximian.com>
859 * x86/tramp.c: handle MONO_TYPE_CLASS in trampolines.
861 2001-09-21 Dietmar Maurer <dietmar@ximian.com>
863 * x86/x86-codegen.h (x86_breakpoint): added.
865 Tue Sep 18 13:23:59 CEST 2001 Paolo Molaro <lupus@ximian.com>
867 * x86/x86-codegen.h: remove C++ comments.
869 2001-09-17 Dietmar Maurer <dietmar@ximian.com>
871 * x86/x86-codegen.h (x86_alu_reg_reg): replaced src/dest
873 Mon Sep 10 17:26:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
875 * Makefile.am, x86/Makefile.am: conditional compile logic
876 to make porting to different targets easier.
878 Fri Sep 7 18:43:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
880 * x86/x86-codegen.h: fixes and x86_mov_membase_imm ().
881 * x86/tramp.c: implemented mono_create_method_pointer ():
882 creates a native pointer to a method implementation that can be
883 used as a normal C callback.
885 Thu Sep 6 15:38:00 CEST 2001 Paolo Molaro <lupus@ximian.com>
887 * x86/x86-codegen.h: added x86_rdtsc() and fixes.
888 * x86/tramp.c: create trampolines to call pinvoke methods.
889 * x86/Makefile.am: create a libmonoarch convenience library.
891 Mon Aug 27 09:29:00 CEST 2001 Paolo Molaro <lupus@ximian.com>
893 * x86/x86-codegen.h: fix x86_call_code (). x86_mov_regp_reg () added.
895 Sat Aug 18 12:40:32 CEST 2001 Paolo Molaro <lupus@ximian.com>
897 * x86/x86-codegen.h: fix a couple of buglets and add x86_regp_emit().
899 Wed Aug 8 15:30:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
901 * x86/x86-codegen.h, x86/test.c: added x86 code emitter with