projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3281f37
)
* M_CMP, M_CMP_IMM, M_CMP_MEMBASE: Added.
author
twisti
<none@none>
Mon, 24 Oct 2005 19:38:52 +0000
(19:38 +0000)
committer
twisti
<none@none>
Mon, 24 Oct 2005 19:38:52 +0000
(19:38 +0000)
src/vm/jit/x86_64/codegen.h
patch
|
blob
|
history
diff --git
a/src/vm/jit/x86_64/codegen.h
b/src/vm/jit/x86_64/codegen.h
index 54852e3a8e13b80a49833ccb554f009ed67cc2d4..f18a560de09b17bb42c8735fed88f399db5185bd 100644
(file)
--- a/
src/vm/jit/x86_64/codegen.h
+++ b/
src/vm/jit/x86_64/codegen.h
@@
-28,7
+28,7
@@
Christian Thalinger
Christian Thalinger
- $Id: codegen.h 34
70 2005-10-21 09:07:25
Z twisti $
+ $Id: codegen.h 34
90 2005-10-24 19:38:52
Z twisti $
*/
*/
@@
-455,6
+455,10
@@
typedef enum {
#define M_TEST(a) x86_64_test_reg_reg(cd, (a), (a))
#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))
#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))