* M_CMP, M_CMP_IMM, M_CMP_MEMBASE: Added.
authortwisti <none@none>
Mon, 24 Oct 2005 19:38:52 +0000 (19:38 +0000)
committertwisti <none@none>
Mon, 24 Oct 2005 19:38:52 +0000 (19:38 +0000)
src/vm/jit/x86_64/codegen.h

index 54852e3a8e13b80a49833ccb554f009ed67cc2d4..f18a560de09b17bb42c8735fed88f399db5185bd 100644 (file)
@@ -28,7 +28,7 @@
             Christian Thalinger
 
 
-   $Id: codegen.h 3470 2005-10-21 09:07:25Z twisti $
+   $Id: codegen.h 3490 2005-10-24 19:38:52Z twisti $
 
 */
 
@@ -455,6 +455,10 @@ typedef enum {
 
 #define M_TEST(a)               x86_64_test_reg_reg(cd, (a), (a))
 
+#define M_CMP(a,b)              x86_64_alu_reg_reg(cd, X86_64_CMP, (a), (b))
+#define M_CMP_IMM(a,b)          x86_64_alu_imm_reg(cd, X86_64_CMP, (a), (b))
+#define M_CMP_MEMBASE(a,b,c)    x86_64_alu_membase_reg(cd, X86_64_CMP, (a), (b), (c))
+
 #define M_BEQ(disp)             x86_64_jcc(cd, X86_64_CC_E, (disp))
 #define M_BNE(disp)             x86_64_jcc(cd, X86_64_CC_NE, (disp))