projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
009a5b4
)
* M_MOV_IMM, M_PUSH, M_JMP, M_JMP_IMM, M_CALL: added
author
twisti
<none@none>
Sun, 10 Jul 2005 22:21:02 +0000
(22:21 +0000)
committer
twisti
<none@none>
Sun, 10 Jul 2005 22:21:02 +0000
(22:21 +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 6642807aeb1e19e8e68c8638fe83d71131f1d6b5..958571855023d54e730e3515872794121b42ea50 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 29
56 2005-07-09 14:04:34
Z twisti $
+ $Id: codegen.h 29
76 2005-07-10 22:21:02
Z twisti $
*/
*/
@@
-418,6
+418,7
@@
typedef enum {
/* macros to create code ******************************************************/
#define M_MOV(a,b) x86_64_mov_reg_reg(cd, (a), (b))
/* macros to create code ******************************************************/
#define M_MOV(a,b) x86_64_mov_reg_reg(cd, (a), (b))
+#define M_MOV_IMM(a,b) x86_64_mov_imm_reg(cd, (a), (b))
#define M_ILD(a,b,disp) x86_64_movl_membase_reg(cd, (b), (disp), (a))
#define M_LLD(a,b,disp) x86_64_mov_membase_reg(cd, (b), (disp), (a))
#define M_ILD(a,b,disp) x86_64_movl_membase_reg(cd, (b), (disp), (a))
#define M_LLD(a,b,disp) x86_64_mov_membase_reg(cd, (b), (disp), (a))
@@
-444,6
+445,11
@@
typedef enum {
#define M_BEQ(disp) x86_64_jcc(cd, X86_64_CC_E, (disp))
#define M_BEQ(disp) x86_64_jcc(cd, X86_64_CC_E, (disp))
+#define M_PUSH(a) x86_64_push_reg(cd, (a))
+
+#define M_JMP(a) x86_64_jmp_reg(cd, (a))
+#define M_JMP_IMM(a) x86_64_jmp_imm(cd, (a))
+#define M_CALL(a) x86_64_call_reg(cd, (a))
#define M_RET x86_64_ret(cd)
#define M_NOP x86_64_nop(cd)
#define M_RET x86_64_ret(cd)
#define M_NOP x86_64_nop(cd)