diff options
Diffstat (limited to 'target-m68k/op-hacks.h')
-rw-r--r-- | target-m68k/op-hacks.h | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/target-m68k/op-hacks.h b/target-m68k/op-hacks.h index c7865638ee..01a158d83e 100644 --- a/target-m68k/op-hacks.h +++ b/target-m68k/op-hacks.h @@ -27,16 +27,38 @@ static inline int gen_im32(uint32_t i) return qreg; } -static inline void gen_op_ldf32(int dest, int addr) +static inline void gen_op_ldf32_raw(int dest, int addr) { - gen_op_ld32(dest, addr); + gen_op_ld32_raw(dest, addr); } -static inline void gen_op_stf32(int addr, int dest) +static inline void gen_op_stf32_raw(int addr, int dest) { - gen_op_st32(addr, dest); + gen_op_st32_raw(addr, dest); } +#if !defined(CONFIG_USER_ONLY) +static inline void gen_op_ldf32_user(int dest, int addr) +{ + gen_op_ld32_user(dest, addr); +} + +static inline void gen_op_stf32_user(int addr, int dest) +{ + gen_op_st32_user(addr, dest); +} + +static inline void gen_op_ldf32_kernel(int dest, int addr) +{ + gen_op_ld32_kernel(dest, addr); +} + +static inline void gen_op_stf32_kernel(int addr, int dest) +{ + gen_op_st32_kernel(addr, dest); +} +#endif + static inline void gen_op_pack_32_f32(int dest, int src) { gen_op_mov32(dest, src); |