1 2010-03-30 Zoltan Varga <vargaz@gmail.com>
3 * arm/*.sh: Remove bash dependency.
5 2009-08-14 Zoltan Varga <vargaz@gmail.com>
7 * arm/arm-codegen.h: Add armv6 MOVW/MOVT.
9 2009-07-03 Jerry Maine <crashfourit@gmail.com>
11 Contributed under the terms of the MIT/X11 license by
12 Jerry Maine <crashfourit@gail.com>.
14 * amd64/amd64-codegen.h: Added missing code gen marco for single packed square root.
16 Fri Jul 24 16:54:13 CEST 2009 Steven Munroe <munroesj@us.ibm.com>
18 This patch is contributed under the terms of the MIT/X11 license
20 * arch/ppc/ppc-codegen.h (ppc_ha): Define high adjusted
21 conversion to support combining addis for bits 32-47 with
22 signed load/store diplacements for bits 48-63.
23 (ppc_fcfidx, ppc_fctidx, ppc_fctidzx): Share with PPC32.
24 These instructions are availble to 32-bit programs on 64-bit
25 hardware and 32-bit both starting with PowerISA V2.01.
26 [__mono_ppc64__]: Define ppc_mftgpr and ppc_mffgpr for Power6
28 [!__mono_ppc64__]: Define ppc_is_imm32 as constant true for
31 2009-07-20 Zoltan Varga <vargaz@gmail.com>
33 * amd64/amd64-codegen.h (amd64_sse_pminud_reg_reg): Fix the encoding
36 2009-07-13 Zoltan Varga <vargaz@gmail.com>
38 * x86/x86-codegen.h: Applied patch from Marian Salaj <salo3@atlas.cz>.
39 Fix encoding of PMINSW and PMINSD. Fixes #521662.
41 2009-06-22 Zoltan Varga <vargaz@gmail.com>
43 * ppc/ppc-codegen.h: Rework the naming of the load/store macros,
44 ldr/str now handle register sized quantities, while ldptr/stptr handle
45 pointer sized quantities.
47 2009-06-20 Zoltan Varga <vargaz@gmail.com>
49 * ppc/ppc-codegen.h: Fix the last change to avoid self-assignments inside
52 * ppc/ppc-codegen.h: Add ppc_ldr/ppc_str macros to store regsize quantities.
53 Handle little endian host platforms in ppc_emit32.
55 2009-10-06 Jerry Maine <crashfourit@gmail.com>
57 Contributed under the terms of the MIT/X11 license by
58 Jerry Maine <crashfourit@gail.com>.
60 * amd64/amd64-codegen.h: Add marcos for coding two byte SIMD/SSE opcodes.
61 Added comments to help tell the different types of SSE code gen marcos appart.
63 2009-04-06 Zoltan Varga <vargaz@gmail.com>
65 * arm/arm-vfp-codegen.h: Add ARM_FSITOS/ARM_FSITOD.
67 2009-04-03 Zoltan Varga <vargaz@gmail.com>
69 * amd64/amd64-codegen.h: Add macros for decoding the SIB byte.
71 2009-04-02 Zoltan Varga <vargaz@gmail.com>
73 * arm/arm-vfp-codegen.h: Add missing VFP codegen macros.
75 2009-03-06 Zoltan Varga <vargaz@gmail.com>
77 * arm/tramp.c: Include a change from the debian patches. Avoid #include-ing
78 a file in the middle of a function.
80 2009-02-27 Zoltan Varga <vargaz@gmail.com>
82 * arm/{arm_fpamacros.h, arm_vfpmacros.h}: Remove these files, they are
85 2009-02-02 Mark Probst <mark.probst@gmail.com>
87 Contributed under the terms of the MIT/X11 license by Steven
88 Munroe <munroesj@us.ibm.com>.
90 * ppc/ppc-codegen.h: Make operand order and case consistent
91 (assembler order) for ppc_load_reg_update, ppc_load_multiple_regs,
92 ppc_store_multiple_regs, ppc_lwz, ppc_lhz, ppc_lbz,
93 ppc_stw,ppc_sth, ppc_stb, ppc_stwu, ppc_lbzu, ppc_lfdu, ppc_lfsu,
94 ppc_lfsux, ppc_lfsx, ppc_lha, ppc_lhau, ppc_lhzu, ppc_lmw,
95 ppc_lwzu, ppc_stbu, ppc_stfdu, ppc_stfsu, ppc_sthu, ppc_stmw. Use
96 "i" or "ui" instead of "d" for immediated operands to immediate
97 arthimetic and logical instructions in macros ppc_addi, ppc_addis,
98 ppc_ori, ppc_addic, ppc_addicd, ppc_andid, ppc_andisd.
99 [__mono_ppc64__]: Make operand order and case consistent
100 (assembler order) for ppc_load_multiple_regs,
101 ppc_store_multiple_regs. Simplify the DS form and make them
102 consistent with D forms for ppc_load_reg, ppc_load_reg_update,
103 ppc_store_reg, ppc_store_reg_update. ppc_ld, ppc_lwa, ppc_ldu,
104 ppc_std, ppc_stdu. Define ppc_lwax and ppc_lwaux.
106 2009-01-19 Rodrigo Kumpera <rkumpera@novell.com>
108 * x86/x86-codegen.h: Add x86_movd_xreg_membase.
110 2008-12-19 Mark Probst <mark.probst@gmail.com>
112 * ppc/ppc-codegen.h: Fixed the argument order for lwzu in
115 2008-12-12 Mark Mason <mmason@upwardaccess.com>
117 * mips/mips-codegen.h: Changes to support n32.
119 2008-12-10 Mark Probst <mark.probst@gmail.com>
121 * ppc/ppc-codegen.h: A few new macros for the final PPC/PPC64
124 2008-12-05 Mark Probst <mark.probst@gmail.com>
126 * ppc/ppc-codegen.h: ppc_load_func must use ppc_load_sequence.
127 Added ppc_compare_log.
129 2008-12-05 Mark Probst <mark.probst@gmail.com>
131 * ppc/ppc-codegen.h: Added ppc_load_func for PPC32. Added
132 ppc_load/store_multiple_regs and ppc_compare_reg_imm.
134 2008-12-02 Mark Probst <mark.probst@gmail.com>
136 * ppc/ppc-codegen.h: Opcodes for floating point conversions from
139 Code submitted by andreas.faerber@web.de at
140 https://bugzilla.novell.com/show_bug.cgi?id=324134 under the
143 2008-11-28 Mark Probst <mark.probst@gmail.com>
145 * ppc/ppc-codegen.h: #define for the maximum length of a load
148 2008-11-21 Mark Probst <mark.probst@gmail.com>
150 * ppc/ppc-codegen.h: Make ppc_is_[u]imm16() work with 64 bit
153 2008-11-20 Rodrigo Kumpera <rkumpera@novell.com>
155 * x86/x86-codegen.h: Add X86_SSE_MOVHPD_REG_MEMBASE and renamed MOVS to MOVSD.
157 2008-11-20 Rodrigo Kumpera <rkumpera@novell.com>
159 * x86/x86-codegen.h: Add X86_SSE_MOVS_ reg/membase variants.
161 * x86/x86-codegen.h: Add x86_sse_alu_pd_reg_membase_imm.
163 * x86/x86-codegen.h: Sort the x86_sse_alu_* macros decently.
165 2008-11-20 Mark Probst <mark.probst@gmail.com>
167 * ppc/ppc-codegen.h: Use ppc_load_reg instead of ppc_ld in
168 ppc_load_func to fix the 2 bit shift.
170 2008-11-20 Mark Probst <mark.probst@gmail.com>
172 * ppc/ppc-codegen.h: 64 bit division opcodes.
174 Code submitted by andreas.faerber@web.de at
175 https://bugzilla.novell.com/show_bug.cgi?id=324134 under the
178 2008-11-20 Zoltan Varga <vargaz@gmail.com>
180 * arm/Makefile.am (libmonoarch_arm_la_SOURCES): Don't build tramp.c, it is only
181 used by the interpreter.
183 2008-11-20 Rodrigo Kumpera <rkumpera@novell.com>
185 * x86/x86-codegen.h: Add PEXTR B/W/D.
187 2008-11-18 Rodrigo Kumpera <rkumpera@novell.com>
189 * x86/x86-codegen.h: Add PINSR B/W/D.
191 2008-11-18 Mark Probst <mark.probst@gmail.com>
193 * ppc/ppc-codegen.h: Macro for nop added.
195 2008-11-18 Mark Probst <mark.probst@gmail.com>
197 * ppc/ppc-codegen.h: PPC64 code generation macros.
199 Based on code submitted by andreas.faerber@web.de at
200 https://bugzilla.novell.com/show_bug.cgi?id=324134 under the
203 2008-11-18 Mark Probst <mark.probst@gmail.com>
205 * ppc/ppc-codegen.h: A few fixes and additions.
207 Based on code submitted by andreas.faerber@web.de at
208 https://bugzilla.novell.com/show_bug.cgi?id=324134 under the
211 2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
213 * x86/x86-codegen.h: Fix comment about the version of PCMPGTQ.
215 * x86/x86-codegen.h: Add movsd constant and x86_sse_alu_sd_membase_reg
218 2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
220 * x86/x86-codegen.h: Add X86_SSE_MOVHPD_MEMBASE_REG constant
221 and x86_sse_alu_pd_membase_reg/x86_sse_alu_membase_reg macros.
223 2008-11-15 Andreas Faerber <andreas.faerber@web.de>
225 * ppc/test.c: Add support for Mac OS X.
227 Code is contributed under MIT/X11 license.
229 2008-11-13 Rodrigo Kumpera <rkumpera@novell.com>
231 * x86/x86-codegen.h: Remove not used macro x86_pshufd_reg_reg.
233 2008-11-04 Rodrigo Kumpera <rkumpera@novell.com>
235 * x86/x86-codegen.h: Add store nta.
237 2008-11-03 Rodrigo Kumpera <rkumpera@novell.com>
239 * x86/x86-codegen.h: Add prefetch instruction
240 and x86_sse_alu_reg_membase macro.
242 2008-10-28 Rodrigo Kumpera <rkumpera@novell.com>
244 * x86/x86-codegen.h: Add long version of the packed integer
247 2008-10-27 Rodrigo Kumpera <rkumpera@novell.com>
249 * x86/x86-codegen.h: Add movddup.
251 2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
253 * x86/x86-codegen.h: Add signed pack with saturation.
255 2008-10-24 Rodrigo Kumpera <rkumpera@novell.com>
257 * x86/x86-codegen.h: Add signed packed mul high.
259 2008-10-23 Rodrigo Kumpera <rkumpera@novell.com>
261 * x86/x86-codegen.h: Add signed packed max, min, add/sub with saturation
264 2008-10-20 Rodrigo Kumpera <rkumpera@novell.com>
266 * x86/x86-codegen.h: Add multiply and store high.
268 2008-10-17 Rodrigo Kumpera <rkumpera@novell.com>
270 * x86/x86-codegen.h: Add packed int shuffle.
272 2008-10-16 Rodrigo Kumpera <rkumpera@novell.com>
274 * x86/x86-codegen.h: Add packed int compare equals and
277 2008-10-15 Rodrigo Kumpera <rkumpera@novell.com>
279 * x86/x86-codegen.h: Add packed int max/min/avg/shuffle and extract mask.
281 2008-10-14 Rodrigo Kumpera <rkumpera@novell.com>
283 * x86/x86-codegen.h: Add movsldup and movshdup.
285 2008-10-13 Rodrigo Kumpera <rkumpera@novell.com>
287 * x86/x86-codegen.h: Add remaining FP sse1 ops.
288 Add sse ps encoding with imm operand.
289 Add remaining sse1 ops.
291 2008-10-12 Rodrigo Kumpera <rkumpera@novell.com>
293 * x86/x86-codegen.h: Add macro for sse41 ops.
294 Add defined for pack ops, dword shifts/mul/pack.
296 2008-10-11 Zoltan Varga <vargaz@gmail.com>
298 * amd64/amd64-codegen.h (amd64_jump_code_size): Fix the 64 bit support.
300 2008-10-10 Zoltan Varga <vargaz@gmail.com>
302 * amd64/amd64-codegen.h (amd64_jump_code_size): Handle non 32-bit targets.
304 2008-10-09 Rodrigo Kumpera <rkumpera@novell.com>
306 * x86/x86-codegen.h: Add macros for sse shift, pack, unpack,
307 saturated math and packed byte/word/dword math.
309 2008-10-03 Rodrigo Kumpera <rkumpera@novell.com>
311 * x86/x86-codegen.h: Add macros for SSE instructions.
313 2008-09-27 Mark Probst <mark.probst@gmail.com>
315 * ppc/ppc-codegen.h: A few typecasts to fix compiler warnings.
317 2008-09-07 Mark Probst <mark.probst@gmail.com>
319 * ppc/ppc-codegen.h (ppc_load): Inserted cast to fix some
322 2008-06-16 Mark Probst <mark.probst@gmail.com>
324 * amd64/amd64-codegen.h: Removed extraneous parenthesis in a macro
327 2008-06-06 Zoltan Varga <vargaz@gmail.com>
329 * amd64/amd64-codegen.h (amd64_padding_size): Rewrite this to use the
330 instructions recommended by the amd64 manual.
332 2008-04-19 Zoltan Varga <vargaz@gmail.com>
334 * amd64/amd64-codegen.h (amd64_is_imm32): Use gint64 instead of glong because of
337 2008-03-13 Geoff Norton <gnorton@novell.com>
339 * arch/arm/tramp.c: Dont compile this on PLATFORM_MACOSX
341 2008-02-18 Zoltan Varga <vargaz@gmail.com>
343 * amd64/amd64-codegen.h (amd64_movsxd_reg_mem): New codegen macro.
345 2008-02-14 Zoltan Varga <vargaz@gmail.com>
347 * amd64/amd64-codegen.h (amd64_alu_membase8_imm_size): New codegen macro.
349 2008-02-08 Zoltan Varga <vargaz@gmail.com>
351 * arm/arm-codegen.h: Fix the ordering of arguments for some load/store opcodes
352 so they are consistent.
354 2008-01-24 Zoltan Varga <vargaz@gmail.com>
356 * Makefile.am (SUBDIRS): Or if INTERP_SUPPORTED is true.
358 * Makefile.am (SUBDIRS): Only set this on arm.
360 2007-11-20 Zoltan Varga <vargaz@gmail.com>
362 * amd64/amd64-codegen.h (amd64_alu_reg_imm_size): Prefer the smaller
363 instruction encoding.
365 2007-11-03 David S. Miller <davem@davemloft.net>
367 * sparc/sparc-codegen.h (sparc_set32, sparc_set): A plain sethi
368 can be used if the constant value only has the top 22 bits set.
370 2007-11-01 Geoff Norton <gnorton@novell.com>
372 * x86/Makefile.am: Only compile tramp.c if INTERP_SUPPORTED is true
373 Fixes the build on Leopard.
375 2007-11-01 Geoff Norton <gnorton@novell.com>
377 * ppc/Makefile.am: Only compile tramp.c if INTERP_SUPPORTED is true
378 Fixes the build on Leopard.
380 2007-10-26 Jonathan Chambers <joncham@gmail.com>
382 * amd64/amd64-codegen.h: Begin Win64 port. Use AMD64_ARG_REG#
383 defines to access param registers. Replace long usage with
384 gsize as sizeof(long) != sizeof(void*) on Win64.
386 Code is contributed under MIT/X11 license.
388 2007-10-09 Zoltan Varga <vargaz@gmail.com>
390 * amd64/amd64-codegen.h (amd64_jump_membase_size): Remove an unneccesary
391 rex prefix which trips up valgrind.
393 2007-07-14 Zoltan Varga <vargaz@gmail.com>
395 * amd64/amd64-codegen.h: Remove some unused rex prefixes.
397 Wed Jul 4 15:29:07 CEST 2007 Paolo Molaro <lupus@ximian.com>
399 * x86/x86-codegen.h: added minimal sse instructions currently
402 2007-06-13 Randolph Chung <tausq@debian.org>
404 * hppa/hppa-codegen.h: Update with more instructions.
405 * hppa/tramp.c: Disable for linux since we don't support the
408 2007-05-20 Zoltan Varga <vargaz@gmail.com>
410 * amd64/amd64-codegen.h (amd64_call_reg): Remove a got prefix which isn't needed.
412 2007-04-23 Zoltan Varga <vargaz@gmail.com>
414 * alpha/alpha-codegen.h: More alpha port work from
415 Sergey Tikhonov <tsv@solvo.ru>.
417 Mon Mar 12 17:07:32 CET 2007 Paolo Molaro <lupus@ximian.com>
419 * amd64/amd64-codegen.h: removed some useless size rex prefixes.
421 Wed Jan 24 21:00:40 CET 2007 Paolo Molaro <lupus@ximian.com>
423 * arm/arm-codegen.h: fixed encoding of short/byte load/store
424 instructions with negative immediate offsets.
426 Mon Nov 20 17:36:45 CET 2006 Paolo Molaro <lupus@ximian.com>
428 * arm/arm-codegen.h: added suppot for thumb interworking instructions.
430 Wed Nov 15 16:56:53 CET 2006 Paolo Molaro <lupus@ximian.com>
432 * mips/*: fixes by Mark E Mason <mark.e.mason@broadcom.com>.
434 2006-09-12 Zoltan Varga <vargaz@gmail.com>
436 * alpha/alpha-codegen.h: More alpha updates from Sergey Tikhonov <tsv@solvo.ru>.
438 Tue Sep 12 13:09:56 CEST 2006 Paolo Molaro <lupus@ximian.com>
440 * arm/*: VFP floating point format code generation support.
442 2006-09-12 Zoltan Varga <vargaz@gmail.com>
444 * ia64/ia64-codegen.h: Add xmpy_l/u pseudo ops.
446 2006-07-19 Zoltan Varga <vargaz@gmail.com>
448 * amd64/amd64-codegen.h: Fix amd64_mov_mem_reg.
450 * alpha/alpha-codegen.h alpha/test.c alpha/tramp.c: Applied patch from
451 Sergey Tikhonov <tsv@solvo.ru>. Updates to alpha support.
453 Thu Jun 15 16:59:36 CEST 2006 Paolo Molaro <lupus@ximian.com>
455 * ppc/ppc-codegen.h: reduce noisy build warnings by
456 casting to the more commonly used unsigned char type
457 (from johannes@sipsolutions.net (Johannes Berg)).
459 2006-05-14 Zoltan Varga <vargaz@gmail.com>
461 * ia64/ia64-codegen.h (ia64_fetchadd8_acq_hint_pred): Fix encoding of this
464 2006-04-21 Zoltan Varga <vargaz@gmail.com>
466 * Makefile.am (SUBDIRS): Revert the last change as arm depends on the old
469 2006-04-12 Zoltan Varga <vargaz@gmail.com>
471 * sparc/sparc-codegen.h (sparc_inst_i): New disassembly macro.
473 2006-04-04 Zoltan Varga <vargaz@gmail.com>
475 * Makefile.am (SUBDIRS): Avoid compiling subdirs needed by the
478 2005-12-22 Zoltan Varga <vargaz@gmail.com>
480 * sparc/sparc-codegen.h (sparc_membar): Add membar instruction.
482 2005-10-30 Zoltan Varga <vargaz@gmail.com>
484 * ia64/ia64-codegen.h (ia64_m17): Fix a warning.
486 2005-10-16 Zoltan Varga <vargaz@freemail.hu>
488 * amd64/amd64-codegen.h (AMD64_CALLEE_SAVED_REGS): Add %rbp.
490 2005-09-27 Raja R Harinath <rharinath@novell.com>
492 * arm/dpiops.sh, arm/fpaops.h: Output to stdout.
493 * arm/Makefile.am (arm_dpimacros.h, arm_fpamacros.h): Update. Fix
494 for srcdir != builddir.
496 2005-09-11 Zoltan Varga <vargaz@gmail.com>
498 * ia64/ia64-codegen.h (ia64_unw_pop_frames): New unwind macro.
500 2005-09-10 Zoltan Varga <vargaz@gmail.com>
502 * ia64/ia64-codegen.h: Remove 'manual' emitting of instructions.
503 Integrate emission of unwind directives into the assembly macros.
505 2005-09-04 Zoltan Varga <vargaz@gmail.com>
507 * ia64/ia64-codegen.h (ia64_no_stop): New macro.
509 2005-08-27 Zoltan Varga <vargaz@gmail.com>
511 * ia64/ia64-codegen.h: Fix some bugs.
513 * ia64/codegen.c: Update to work with latest ia64-codegen.h
515 2005-08-26 Zoltan Varga <vargaz@gmail.com>
517 * ia64/Makefile.am: Distribute ia64-codegen.h.
519 2005-08-21 Zoltan Varga <vargaz@freemail.hu>
521 * ia64/ia64-codegen.h: Improve ins scheduling and fix some bugs.
523 2005-08-17 Zoltan Varga <vargaz@freemail.hu>
525 * ia64/ia64-codegen.h: Add dependency information for all instructions.
527 2005-07-30 Zoltan Varga <vargaz@freemail.hu>
529 * ia64/ia64-codegen.h: Ongoing IA64 work.
531 Wed Jul 20 18:01:54 BST 2005 Paolo Molaro <lupus@ximian.com>
533 * arm/*: more codegen macros.
535 2005-07-18 Zoltan Varga <vargaz@freemail.hu>
537 * ia64/ia64-codegen.h (ia64_is_adds_imm): Ongoing IA64 work.
539 2005-06-23 Zoltan Varga <vargaz@freemail.hu>
541 * ia64/ia64-codegen.h: Add some new pseudo ops.
543 2005-06-19 Zoltan Varga <vargaz@freemail.hu>
545 * ia64/ia64-codegen.h: Fix encoding of ia64_fclass.
547 2005-06-12 Zoltan Varga <vargaz@freemail.hu>
549 * ia64/ia64-codegen.h: Ongoing IA64 work.
551 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
553 * ia64/ia64-codegen.h: Ongoing IA64 work.
555 2005-05-30 Zoltan Varga <vargaz@freemail.hu>
557 * ia64/codegen.c: Fix it after latest changes.
559 2005-05-29 Zoltan Varga <vargaz@freemail.hu>
561 * ia64/ia64-codegen.h: Ongoing IA64 work.
563 * ia64/ia64-codegen.h: Ongoing IA64 work.
565 2005-05-28 Zoltan Varga <vargaz@freemail.hu>
567 * ia64/ia64-codegen.h: Ongoing IA64 work.
569 * ia64/ia64-codegen.h: Ongoing IA64 work.
571 * ia64/ia64-codegen.h: Ongoing IA64 work.
573 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
575 * ia64/ia64-codegen.h: Ongoing IA64 work.
577 2005-05-22 Zoltan Varga <vargaz@freemail.hu>
579 * ia64/ia64-codegen.h: Ongoing IA64 work.
581 * ia64/ia64-codegen.h: Ongoing IA64 work.
583 * ia64/ia64-codegen.h: Ongoing IA64 work.
585 2005-05-21 Zoltan Varga <vargaz@freemail.hu>
587 * ia64/ia64-codegen.h: Ongoing IA64 work.
589 2005-05-19 Zoltan Varga <vargaz@freemail.hu>
591 * ia64/ia64-codegen.h ia64/codegen.c: Ongoing ia64 work.
593 2005-05-18 Zoltan Varga <vargaz@freemail.hu>
595 * ia64/ia64-codegen.h (ia64_codegen_init): Rename macro parameter.
597 2005-05-14 Zoltan Varga <vargaz@freemail.hu>
599 * Makefile.am: Only compile libmonoarch if the interpreter is compiled.
601 * ia64/ia64-codegen.h: Add IA64 code generation macros.
603 * Makefile.am: Add ia64 subdir.
605 2005-05-05 Zoltan Varga <vargaz@freemail.hu>
607 * alpha/tramp.c: Applied patch from Jakub Bogusz <qboosh@pld-linux.org>.
609 2005-03-28 Zoltan Varga <vargaz@freemail.hu>
611 * amd64/amd64-codegen.h: Avoid emitting a rex in some places.
613 2005-03-15 Zoltan Varga <vargaz@freemail.hu>
615 * amd64/amd64-codegen.h (amd64_emit_rex): Emit a rex when accessing the
618 * amd64/amd64-codegen.h (AMD64_BYTE_REGS): Add AMD64_BYTE_REGS macro.
620 2005-03-14 Zoltan Varga <vargaz@freemail.hu>
622 * amd64/amd64-codegen.h: Add missing AMD64_XMM7.
624 2005-03-13 Zoltan Varga <vargaz@freemail.hu>
626 * amd64/amd64-codegen.h: Remove some unneccesary REXes.
628 2005-03-08 Zoltan Varga <vargaz@freemail.hu>
630 * amd64/amd64-codegen.h (amd64_sse_cvtsi2sd_reg_reg_size): Add _size
631 variants to some sse2 macros.
633 * amd64/amd64-codegen.h (amd64_sse_cvtsd2si_reg_reg): Make this convert
636 2005-03-06 Zoltan Varga <vargaz@freemail.hu>
638 * amd64/amd64-codegen.h: Add some SSE2 instructions.
640 2005-02-20 Zoltan Varga <vargaz@freemail.hu>
642 * amd64/amd64-codegen.h: Add xadd instructions.
644 * amd64/amd64-codegen.h (amd64_jump_code_size): Do not emit a rex.
646 2004-11-25 Zoltan Varga <vargaz@freemail.hu>
648 * amd64/amd64-codegen.h: Updates to support the PIC changes.
650 Fri Nov 19 17:29:22 CET 2004 Paolo Molaro <lupus@ximian.com>
652 * ppc/ppc-codegen.h: counter reg decrement branch values
653 (patch by Geoff Norton <gnorton@customerdna.com>).
655 2004-11-16 Patrik Torstensson <patrik.torstensson@gmail.com>
657 * x86/x86-codegen.h: added opcodes for xadd instructions
659 2004-11-15 Zoltan Varga <vargaz@freemail.hu>
661 * amd64/x86-64-codegen.h: Get rid of this.
663 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
665 * amd64/amd64-codegen.h (amd64_imul_reg_membase_size): Fix REX
668 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
670 * amd64/amd64-codegen.h: More SSE work.
672 * amd64/amd64-codegen.h: Add SSE2 instructions.
674 2004-08-21 Zoltan Varga <vargaz@freemail.hu>
676 * amd64/amd64-codegen.h (X86_IS_BYTE_REG): Redefine X86_IS_BYTE_REG
677 since under amd64, all 16 registers have a low part.
679 2004-08-16 Zoltan Varga <vargaz@freemail.hu>
681 * x86/x86-codegen.h: Add macros for accessing the mod/rm byte.
683 2004-07-30 Zoltan Varga <vargaz@freemail.hu>
685 * amd64/amd64-codegen.h: Ongoing JIT work.
687 2004-07-29 Ben Maurer <bmaurer@ximian.com>
689 * x86/x86-codegen.h: Add opcodes for cmp BYTE PTR [eax], imm
691 2004-07-28 Zoltan Varga <vargaz@freemail.hu>
693 * amd64/amd64-codegen.h: Ongoing JIT work.
695 2004-07-24 Zoltan Varga <vargaz@freemail.hu>
697 * amd64/amd64-codegen.h: Ongoing JIT work.
699 2004-07-23 Zoltan Varga <vargaz@freemail.hu>
701 * amd64/amd64-codegen.h: Ongoing JIT work.
703 2004-07-23 zovarga <vargaz@freemail.hu>
705 * amd64/amd64-codegen.h: Ongoing JIT work.
707 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
709 * sparc/sparc-codegen.h: Add SPARC64 support.
711 2004-05-07 Bernie Solomon <bernard@ugsolutions.com>
713 * ppc/ppc-codegen.h: remove GCC-ism in ppc_emit32
715 2004-04-29 Bernie Solomon <bernard@ugsolutions.com>
717 * ppc/tramp.c: use sizeof (stackval), fix
718 delegate tramp frame layout for Apple
720 2004-04-26 David Waite <mass@akuma.org>
722 * unknown.c: modify to have content for defined platforms (to
725 2004-03-29 Bernie Solomon <bernard@ugsolutions.com>
734 remove child from MonoInvocation as it isn't used.
736 * hppa/hppa-codegen.h:
737 fix displacements in FP instrs
739 2004-03-23 Bernie Solomon <bernard@ugsolutions.com>
741 * hppa/hppa-codegen.h: created
743 * hppa/tramp.c: changed style to be more like
746 * hppa/Makefile.am: add hppa-codegen.h
748 2004-03-16 Zoltan Varga <vargaz@freemail.hu>
750 * sparc/sparc-codegen.h: Add v9 branches with prediction.
752 2004-03-15 Bernie Solomon <bernard@ugsolutions.com>
754 * sparc/sparc-codegen.h: tweak sparc_mov_reg_reg
755 so Sun's dis command recognizes it.
757 2004-03-15 Zoltan Varga <vargaz@freemail.hu>
759 * sparc/sparc-codegen.h: Add some v9 instructions.
761 2004-03-11 Zoltan Varga <vargaz@freemail.hu>
763 * sparc/sparc-codegen.h: Ongoing sparc work.
765 2004-03-07 Duncan Mak <duncan@ximian.com>
767 * Makefile.am: Removed the reference to 'x86-64'. This was the cause
768 of the missing Mono daily tarballs, 'make dist' wasn't working.
770 We do have an 'amd64' directory, but it doesn't make it in 'make
773 2004-02-19 Zoltan Varga <vargaz@freemail.hu>
775 * sparc/sparc-codegen.h: Fix lots of opcodes + add new ones.
777 * sparc/tramp.c: Fix alignment of structures containing doubles.
779 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
781 * sparc/tramp.c: Implement all floating point argument passing conventions in
782 Sparc V8. Also fix structure passing in V8.
784 Thu Nov 13 16:24:29 CET 2003 Paolo Molaro <lupus@ximian.com>
786 * ppc/ppc-codegen.h: fixed most of the incorrect macros from ct.
788 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
790 * */tramp.c (mono_create_method_pointer): Rename to
791 mono_arch_create_method_pointer, move common code to a new function in
794 * */tramp.c (mono_create_trampoline): Rename to
795 mono_arch_create_trampoline for consistency.
797 2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
799 * x86/tramp.c: restore EDX after memcpy call
801 2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
803 * Makefile.am: add hppa subdir
805 * hppa/tramp.c: add initial implementation - this is 64 bit only
806 hppa/Makefile.am hppa/.cvsignore: added
808 2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
810 * sparc/sparc-codegen.h sparc/tramp.c: add initial implementation
811 for V9 (64 bit), cover more 32 bit cases as well.
813 2003-09-03 Zoltan Varga <vargaz@freemail.hu>
815 * x86/tramp.c: Fixes from Bernie Solomon (bernard@ugsolutions.com).
817 2003-08-21 Zoltan Varga <vargaz@freemail.hu>
819 * x86/tramp.c: Fixes from Bernie Solomon (bernard@ugsolutions.com).
821 Tue Jul 1 13:03:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
823 * alpha/tramp.c: update from Laramie Leavitt (lar@leavitt.us).
825 2003-05-20 Dietmar Maurer <dietmar@ximian.com>
827 * x86/x86-codegen.h (x86_set_reg): add an assertion - it does
828 not work for all registers.
830 Sat Feb 1 10:59:31 CET 2003 Paolo Molaro <lupus@ximian.com>
832 * alpha/*: update from Laramie.
834 Mon Jan 27 12:49:10 CET 2003 Paolo Molaro <lupus@ximian.com>
836 * alpha/*: start of the port to the alpha architecture by
837 Laramie Leavitt (<lar@leavitt.us>).
839 Tue Jan 21 17:29:53 CET 2003 Paolo Molaro <lupus@ximian.com>
841 * ppc/ppc-codegen.h: completed ppc native code generation by
842 Taylor Christopher P <ct@cs.clemson.edu>.
844 Fri Jan 17 21:14:18 CET 2003 Paolo Molaro <lupus@ximian.com>
846 * ppc/tramp.c: adapted to work for MacOSX (from a patch by
849 2002-11-11 Mark Crichton <crichton@gimp.org>
851 * sparc/tramp.c: Added some disassembly bits for debugging.
853 2002-10-02 Mark Crichton <crichton@gimp.org>
855 * sparc/tramp.c: More cleanup of the trampoline code. Still some
856 problems with it w.r.t. delegates.
858 2002-09-25 Mark Crichton <crichton@gimp.org>
860 * sparc/tramp.c: Off by one error. Whoops. Trampoline code should
863 2002-09-24 Mark Crichton <crichton@gimp.org>
865 * sparc/tramp.c: Works as well as the old code did. Cleanup is
866 finished. The framework now for adding more type support is in,
867 and should be a *lot* cleaner.
869 2002-09-22 Mark Crichton <crichton@gimp.org>
871 * sparc/tramp.c: Completely broke trampolining on SPARC processors.
872 The code needed a nasty cleanup, so most of it is rewritten.
875 2002-08-20 Mark Crichton <crichton@gimp.org>
877 * sparc/tramp.c (mono_create_trampoline): Now works on Sparc. Tested
878 on an Ultra 2 running Linux.
880 Mon Aug 5 19:21:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
882 * x86/tramp.c: fix random memory read in mono_create_method_pointer.
884 2002-08-05 Dietmar Maurer <dietmar@ximian.com>
886 * x86/tramp.c (mono_create_trampoline): fixed stack_size bug
888 2002-08-01 Dietmar Maurer <dietmar@ximian.com>
890 * x86/tramp.c (mono_create_method_pointer): allocate space for
892 (mono_create_trampoline): also push the value type pointer for
893 methods returning value types.
894 (mono_create_method_pointer): support valuetype returns.
896 2002-07-31 Dietmar Maurer <dietmar@ximian.com>
898 * x86/tramp.c: remove code to handle PInvoke because this is no
900 (mono_create_method_pointer): return method->addr for pinvoke methods
902 Fri Jul 19 14:18:36 CEST 2002 Paolo Molaro <lupus@ximian.com>
904 * x86/tramp.c: fix float loads. Simple delegate marshaling fix.
906 2002-07-08 Radek Doulik <rodo@ximian.com>
908 * ppc/tramp.c: marshaling for SZARRAY
910 2002-07-05 Radek Doulik <rodo@ximian.com>
912 * ppc/tramp.c: removed magic hack
914 Tue Jun 18 10:21:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
916 * x86/tramp.c: marshal simple arrays correctly.
918 2002-05-27 Miguel de Icaza <miguel@ximian.com>
920 * x86/x86-codegen.h: Set the standard header format.
922 2002-05-23 Dietmar Maurer <dietmar@ximian.com>
924 * x86/tramp.c (mono_create_method_pointer): removed the magic
925 trick to store the function pointer in the prolog and use the same
926 mechanism as in the jit.
928 2002-05-13 Radek Doulik <rodo@ximian.com>
930 * ppc/tramp.c (emit_save_parameters): fix I8 parameters
932 2002-05-06 Sergey Chaban <serge@wildwestsoftware.com>
934 * x86/x86-codegen.h: added missing shifts;
935 8-bit ALU operations (reg-reg);
936 macro for FPU ops with integer operand;
937 FIST macro (without pop);
939 Mon Apr 22 12:57:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
941 * x86/x86-codegen.h: added loop instructions and made x86_patch fully
944 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
946 * x86/tramp.c (mono_create_trampoline): support internalcall
949 Sat Apr 6 16:29:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
951 * x86/tramp.c: fix advancement of argument position on the stack.
953 Sat Mar 16 19:12:57 CET 2002 Paolo Molaro <lupus@ximian.com>
955 * x86/tramp.c: increase default allocated size for trampolines
956 and assert on overflow.
958 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
960 * x86/tramp.c (mono_create_trampoline): dont use fld/fst to copy
963 Mon Mar 11 16:14:29 CET 2002 Paolo Molaro <lupus@ximian.com>
965 * x86/x86-codegen.h: addex x86_clear_reg() and changed
966 x86_mov_reg_imm() to not check for imm == 0.
968 Thu Feb 28 12:34:21 CET 2002 Paolo Molaro <lupus@ximian.com>
970 * x86/tramp.c: start handling of more complex marshaling stuff.
972 2002-02-25 Sergey Chaban <serge@wildwestsoftware.com>
974 * arm: added ARM support code.
975 * Makefile.am: added arm to DIST_SUBDIRS.
977 2002-02-24 Radek Doulik <rodo@ximian.com>
979 * ppc/tramp.c (mono_create_method_pointer): basic delegates
980 implementation, it works for simple delegates now and I am already
981 pretty close to have it working for every delegates, but I am
982 going to sleep and finish it tomorrow?
983 (mono_create_method_pointer): implements delegates with parameters
986 2002-02-22 Jeffrey Stedfast <fejj@ximian.com>
988 * sparc/tramp.c (mono_create_trampoline): Much tinkering to get
989 the opcodes more correct. Still needs a lot of work.
991 2002-02-19 Radek Doulik <rodo@ximian.com>
993 * ppc/tramp.c (emit_save_parameters): don't start saving 64bit values to
995 added stack saving for most arguments
997 Tue Feb 19 20:19:38 CET 2002 Paolo Molaro <lupus@ximian.com>
999 * x86/tramp.c: avoid pointer arthmetric (pointed out by Serge).
1001 2002-02-17 Radek Doulik <rodo@ximian.com>
1003 * ppc/tramp.c: fixed minimal stack size, fixed string parameters,
1004 fix byte and half word parameters
1005 (mono_string_new_wrapper): new helper function, cut&pasted from
1006 x86, modified to check for NULL text to avoid branching in
1008 (calculate_sizes): updated for string retval changes
1009 (emit_call_and_store_retval): updated for string retval
1011 * ppc/ppc-codegen.h (ppc_mr): added lhz, lbz, sth
1013 2002-02-16 Radek Doulik <rodo@ximian.com>
1015 * ppc/tramp.c (emit_call_and_store_retval): support U2, I2, CHAR
1017 Mon Feb 11 18:40:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1019 * sparc/*: sparc codegen header and some untested trampoline code.
1021 Mon Feb 11 12:32:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1023 * x86/tramp.c: fix handling of multiple marshaleed strings.
1024 * x86/x86-codegen.h: some code to patch branch displacements.
1026 Fri Feb 1 16:03:00 CET 2002 Paolo Molaro <lupus@ximian.com>
1028 * x86/tramp.c, ppc/tramp.c: implement mono_method_pointer_get ().
1030 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1032 * x86/tramp.c (mono_create_trampoline): Do not try to create a
1033 mono_string_new if the return value from the PInvoke code is
1036 Mon Jan 14 11:50:16 CET 2002 Paolo Molaro <lupus@ximian.com>
1038 * x86/x86-codegen.c: added overflow condition code and some aliases
1041 Thu Jan 10 21:01:08 CET 2002 Paolo Molaro <lupus@ximian.com>
1043 * x86/tramp.c: mono_create_trampoline (): the runtime argument is
1044 needed to handle correctly delegates, the previous change in handling
1045 the string return type broke them.
1047 Tue Jan 8 22:38:41 MST 2002 Matt Kimball <matt@kimball.net>
1049 * x86/tramp.c: handle strings returned from functions in external
1050 libraries by converting to a Mono string object after the pinvoke'd
1053 Sat Jan 5 15:51:06 CET 2002 Paolo Molaro <lupus@ximian.com>
1055 * x86/tramp.c: handle short integer return types.
1057 Thu Dec 20 20:13:07 CET 2001 Paolo Molaro <lupus@ximian.com>
1059 * x86/tramp.c: fix create_method_pointer() to pass the arguments
1060 correctly and add check for overflow.
1062 Thu Dec 13 15:56:53 CET 2001 Paolo Molaro <lupus@ximian.com>
1064 * x86/x86-codegen.h: x86_mov_memindex_imm() added.
1066 2001-11-29 Radek Doulik <rodo@ximian.com>
1068 * ppc/tramp.c: use r12 which is volatile instead of non-volatile
1071 * Makefile.am (libmonoarch_la_LIBADD): added ppc to DIST_SUBDIRS
1072 generate libmonoarch for ppc
1074 Tue Nov 27 15:24:07 CET 2001 Paolo Molaro <lupus@ximian.com>
1076 * x96/x86-codegen.c: x86_lea_memindex() added.
1078 Thu Nov 15 17:41:01 CET 2001 Paolo Molaro <lupus@ximian.com>
1080 * x86/tramp.c: handle enums with underlying type different from int32.
1082 Wed Nov 14 19:21:26 CET 2001 Paolo Molaro <lupus@ximian.com>
1084 * x86/tramp.c: handle boolean as a return value.
1085 * x96/x86-codegen.c: x86_widen_memindex() added.
1087 2001-11-07 Miguel de Icaza <miguel@ximian.com>
1089 * x86/tramp.c: Include stdlib to kill warning.
1091 Mon Oct 22 15:20:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
1093 * x86/tramp.c: handle boolean, u1 and i1 as return values.
1095 Wed Oct 10 16:07:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
1097 * x86/x86-codegen.c: added x86_set_{reg,mem,membase}.
1099 Mon Oct 8 16:13:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
1101 * x86/tramp.c: remove mono_get_ansi_string () and use
1102 mono_string_to_utf8 () instead.
1104 Thu Oct 4 19:09:13 CEST 2001 Paolo Molaro <lupus@ximian.com>
1106 * x86/tramp.c: allow marshalling valuetypes if they are
1109 Mon Oct 1 18:48:27 CEST 2001 Paolo Molaro <lupus@ximian.com>
1111 * x86/tramp.c: fix thinko (s/SUB/ADD/) in stack adjustment
1112 and avoid a couple of unnecessary instructions.
1114 Fri Sep 28 19:43:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
1116 * x86/tramp.c: marshal valuetypes that are enums.
1118 Thu Sep 27 15:34:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
1120 * x86/x86-codegen.h: in memindex operand you can use X86_NOBASEREG
1123 Wed Sep 26 16:29:36 CEST 2001 Paolo Molaro <lupus@ximian.com>
1125 * x86/x86-codegen.h: added memindex addressing mode encoding
1126 (and mov to/from register opcodes).
1128 Mon Sep 24 18:49:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
1130 * x86/tramp.c: don't change a MONO_TYPE_STRING to a char*
1131 when it's an argument to an internalcall.
1133 Sun Sep 23 13:44:57 CEST 2001 Paolo Molaro <lupus@ximian.com>
1135 * x86/tramp.c: handle MONO_TYPE_CLASS in trampolines.
1137 2001-09-21 Dietmar Maurer <dietmar@ximian.com>
1139 * x86/x86-codegen.h (x86_breakpoint): added.
1141 Tue Sep 18 13:23:59 CEST 2001 Paolo Molaro <lupus@ximian.com>
1143 * x86/x86-codegen.h: remove C++ comments.
1145 2001-09-17 Dietmar Maurer <dietmar@ximian.com>
1147 * x86/x86-codegen.h (x86_alu_reg_reg): replaced src/dest
1149 Mon Sep 10 17:26:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
1151 * Makefile.am, x86/Makefile.am: conditional compile logic
1152 to make porting to different targets easier.
1154 Fri Sep 7 18:43:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
1156 * x86/x86-codegen.h: fixes and x86_mov_membase_imm ().
1157 * x86/tramp.c: implemented mono_create_method_pointer ():
1158 creates a native pointer to a method implementation that can be
1159 used as a normal C callback.
1161 Thu Sep 6 15:38:00 CEST 2001 Paolo Molaro <lupus@ximian.com>
1163 * x86/x86-codegen.h: added x86_rdtsc() and fixes.
1164 * x86/tramp.c: create trampolines to call pinvoke methods.
1165 * x86/Makefile.am: create a libmonoarch convenience library.
1167 Mon Aug 27 09:29:00 CEST 2001 Paolo Molaro <lupus@ximian.com>
1169 * x86/x86-codegen.h: fix x86_call_code (). x86_mov_regp_reg () added.
1171 Sat Aug 18 12:40:32 CEST 2001 Paolo Molaro <lupus@ximian.com>
1173 * x86/x86-codegen.h: fix a couple of buglets and add x86_regp_emit().
1175 Wed Aug 8 15:30:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
1177 * x86/x86-codegen.h, x86/test.c: added x86 code emitter with