aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/op_mem.h
diff options
context:
space:
mode:
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)
{