aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/op_mem.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-27 17:44:03 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-27 17:44:03 +0000
commitb25deda7ca528d8658304bed0479c9609add061e (patch)
tree0d5530ac173ee80f65f6b85fa080d8c5b7ce9171 /target-sparc/op_mem.h
parent77b087cd27dd95a71d246f1e97fbaaea4ed3f1c1 (diff)
Temporary fix for i386 host
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3994 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op_mem.h')
-rw-r--r--target-sparc/op_mem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/target-sparc/op_mem.h b/target-sparc/op_mem.h
index 9e1a9c25f3..a95c733ed0 100644
--- a/target-sparc/op_mem.h
+++ b/target-sparc/op_mem.h
@@ -4,6 +4,16 @@
#define ADDR(x) (x)
#endif
+#ifdef __i386__
+/*** Integer store ***/
+void OPPROTO glue(op_std, MEMSUFFIX)(void)
+{
+ uint64_t tmp = ((uint64_t)T1 << 32) | (uint64_t)(T2 & 0xffffffff);
+
+ glue(stq, MEMSUFFIX)(ADDR(T0), tmp);
+}
+
+#endif /* __i386__ */
/*** Floating-point store ***/
void OPPROTO glue(op_stf, MEMSUFFIX) (void)
{