aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/op-hacks.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-23 19:58:11 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-23 19:58:11 +0000
commit0633879f1ac38b18d84c46dda506300cc8329723 (patch)
tree8df64e0861c32132c7a08af16451629f1ec69112 /target-m68k/op-hacks.h
parent9daea9067aae3e324f14c6b139621c10683fc550 (diff)
m68k/ColdFire system emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2851 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-m68k/op-hacks.h')
-rw-r--r--target-m68k/op-hacks.h30
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);