]> Git Repo - qemu.git/blobdiff - target-mips/op_mem.c
Fix indexed FP load/store instructions.
[qemu.git] / target-mips / op_mem.c
index f0eebc09ddeb6592c1bf6649a4f8295567065690..f9fc69c8e3222c1037f036599881292bfb52aeaa 100644 (file)
@@ -220,35 +220,13 @@ void glue(op_sdc1, MEMSUFFIX) (void)
     glue(stq, MEMSUFFIX)(T0, DT0);
     RETURN();
 }
-void glue(op_lwxc1, MEMSUFFIX) (void)
-{
-    WT0 = glue(ldl, MEMSUFFIX)(T0 + T1);
-    RETURN();
-}
-void glue(op_swxc1, MEMSUFFIX) (void)
-{
-    glue(stl, MEMSUFFIX)(T0 + T1, WT0);
-    RETURN();
-}
-void glue(op_ldxc1, MEMSUFFIX) (void)
-{
-    DT0 = glue(ldq, MEMSUFFIX)(T0 + T1);
-    RETURN();
-}
-void glue(op_sdxc1, MEMSUFFIX) (void)
-{
-    glue(stq, MEMSUFFIX)(T0 + T1, DT0);
-    RETURN();
-}
 void glue(op_luxc1, MEMSUFFIX) (void)
 {
-    /* XXX: is defined as unaligned */
-    DT0 = glue(ldq, MEMSUFFIX)(T0 + T1);
+    DT0 = glue(ldq, MEMSUFFIX)(T0 & ~0x7);
     RETURN();
 }
 void glue(op_suxc1, MEMSUFFIX) (void)
 {
-    /* XXX: is defined as unaligned */
-    glue(stq, MEMSUFFIX)(T0 + T1, DT0);
+    glue(stq, MEMSUFFIX)(T0 & ~0x7, DT0);
     RETURN();
 }
This page took 0.023052 seconds and 4 git commands to generate.