aboutsummaryrefslogtreecommitdiff
path: root/target-i386/ops_mem.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-08 18:58:29 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-08 18:58:29 +0000
commit664e0f195adda3cf01b40d8d1aa79bbc24ad5fab (patch)
tree475f61c819e3a40a476e49c2760dfd43f06438c8 /target-i386/ops_mem.h
parent085339a12b448a64527ce4fdb6e1d43addbb16dc (diff)
MMX/SSE support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1205 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/ops_mem.h')
-rw-r--r--target-i386/ops_mem.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/target-i386/ops_mem.h b/target-i386/ops_mem.h
index 21c17008b9..2e6ccc424d 100644
--- a/target-i386/ops_mem.h
+++ b/target-i386/ops_mem.h
@@ -80,7 +80,21 @@ void OPPROTO glue(glue(op_stl, MEMSUFFIX), _T1_A0)(void)
glue(stl, MEMSUFFIX)(A0, T1);
}
-/* SSE support */
+/* SSE/MMX support */
+void OPPROTO glue(glue(op_ldq, MEMSUFFIX), _env_A0)(void)
+{
+ uint64_t *p;
+ p = (uint64_t *)((char *)env + PARAM1);
+ *p = glue(ldq, MEMSUFFIX)(A0);
+}
+
+void OPPROTO glue(glue(op_stq, MEMSUFFIX), _env_A0)(void)
+{
+ uint64_t *p;
+ p = (uint64_t *)((char *)env + PARAM1);
+ glue(stq, MEMSUFFIX)(A0, *p);
+}
+
void OPPROTO glue(glue(op_ldo, MEMSUFFIX), _env_A0)(void)
{
XMMReg *p;