Author: zoltan
Date: 2005-03-15 12:08:39 -0500 (Tue, 15 Mar 2005)
New Revision: 41842

Modified:
   trunk/mono/mono/arch/ChangeLog
   trunk/mono/mono/arch/amd64/amd64-codegen.h
Log:
2005-03-15  Zoltan Varga  <[EMAIL PROTECTED]>

        * amd64/amd64-codegen.h (AMD64_BYTE_REGS): Add AMD64_BYTE_REGS macro.


Modified: trunk/mono/mono/arch/ChangeLog
===================================================================
--- trunk/mono/mono/arch/ChangeLog      2005-03-15 16:48:12 UTC (rev 41841)
+++ trunk/mono/mono/arch/ChangeLog      2005-03-15 17:08:39 UTC (rev 41842)
@@ -1,3 +1,7 @@
+2005-03-15  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * amd64/amd64-codegen.h (AMD64_BYTE_REGS): Add AMD64_BYTE_REGS macro.
+
 2005-03-14  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * amd64/amd64-codegen.h: Add missing AMD64_XMM7.

Modified: trunk/mono/mono/arch/amd64/amd64-codegen.h
===================================================================
--- trunk/mono/mono/arch/amd64/amd64-codegen.h  2005-03-15 16:48:12 UTC (rev 
41841)
+++ trunk/mono/mono/arch/amd64/amd64-codegen.h  2005-03-15 17:08:39 UTC (rev 
41842)
@@ -74,6 +74,9 @@
 #define AMD64_CALLEE_SAVED_REGS ((1<<AMD64_RBX) | (1<<AMD64_R12) | 
(1<<AMD64_R13) | (1<<AMD64_R14) | (1<<AMD64_R15))
 #define AMD64_IS_CALLEE_SAVED_REG(reg) (AMD64_CALLEE_SAVED_REGS & (1 << (reg)))
 
+#define AMD64_BYTE_REGS ((1 << AMD64_RAX) | (1 << AMD64_RBX) | (1 << 
AMD64_RCX) | (1 << AMD64_RDX))
+#define AMD64_IS_BYTE_REG(reg) (AMD64_BYTE_REGS & (1 << (reg)))
+
 #define AMD64_REX(bits) ((unsigned char)(0x40 | (bits)))
 #define amd64_emit_rex(inst, width, reg_modrm, reg_index, reg_rm_base_opcode) 
do \
        { \

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

Reply via email to