Author: zoltan
Date: 2008-02-18 13:25:24 -0500 (Mon, 18 Feb 2008)
New Revision: 96092

Modified:
   trunk/mono/mono/arch/ChangeLog
   trunk/mono/mono/arch/amd64/amd64-codegen.h
Log:
2008-02-18  Zoltan Varga  <[EMAIL PROTECTED]>

        * amd64/amd64-codegen.h (amd64_movsxd_reg_mem): New codegen macro.


Modified: trunk/mono/mono/arch/ChangeLog
===================================================================
--- trunk/mono/mono/arch/ChangeLog      2008-02-18 18:23:02 UTC (rev 96091)
+++ trunk/mono/mono/arch/ChangeLog      2008-02-18 18:25:24 UTC (rev 96092)
@@ -1,3 +1,7 @@
+2008-02-18  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * amd64/amd64-codegen.h (amd64_movsxd_reg_mem): New codegen macro.
+
 2008-02-14  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * amd64/amd64-codegen.h (amd64_alu_membase8_imm_size): New codegen 
macro.

Modified: trunk/mono/mono/arch/amd64/amd64-codegen.h
===================================================================
--- trunk/mono/mono/arch/amd64/amd64-codegen.h  2008-02-18 18:23:02 UTC (rev 
96091)
+++ trunk/mono/mono/arch/amd64/amd64-codegen.h  2008-02-18 18:25:24 UTC (rev 
96092)
@@ -278,6 +278,13 @@
                x86_membase_emit ((inst), ((reg)&0x7), ((basereg)&0x7), 
(disp));        \
        } while (0)
 
+#define amd64_movsxd_reg_mem(inst,reg,mem) \
+    do {     \
+       amd64_emit_rex(inst,8,(reg),0,0); \
+       *(inst)++ = (unsigned char)0x63; \
+       x86_mem_emit ((inst), ((reg)&0x7), (mem)); \
+    } while (0)
+
 #define amd64_movsxd_reg_membase(inst,reg,basereg,disp) \
     do {     \
        amd64_emit_rex(inst,8,(reg),0,(basereg)); \

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to