diff options
Diffstat (limited to 'target-m68k/op-hacks.h')
-rw-r--r-- | target-m68k/op-hacks.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target-m68k/op-hacks.h b/target-m68k/op-hacks.h index 01a158d83e..7bf345c2c9 100644 --- a/target-m68k/op-hacks.h +++ b/target-m68k/op-hacks.h @@ -103,3 +103,28 @@ static inline void gen_op_goto_tb(int dummy, int n, long tb) gen_op_goto_tb1(TBPARAM(tb)); } } + +static inline void gen_op_jmp_z32(int val, int label) +{ + gen_op_set_T0_z32(val); + gen_op_jmp_T0(label); +} + +static inline void gen_op_jmp_nz32(int val, int label) +{ + gen_op_set_T0_nz32(val); + gen_op_jmp_T0(label); +} + +static inline void gen_op_jmp_s32(int val, int label) +{ + gen_op_set_T0_s32(val); + gen_op_jmp_T0(label); +} + +static inline void gen_op_jmp_ns32(int val, int label) +{ + gen_op_set_T0_ns32(val); + gen_op_jmp_T0(label); +} + |