about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64rundf.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/emu/x64rundf.c b/src/emu/x64rundf.c
index 755c5865..dfedb293 100644
--- a/src/emu/x64rundf.c
+++ b/src/emu/x64rundf.c
@@ -51,6 +51,18 @@ uintptr_t RunDF(x64emu_t *emu, rex_t rex, uintptr_t addr)
             fpu_do_pop(emu);

             break;

 

+        case 0xD0:  /* FSTP STx, ST0 */

+        case 0xD1:

+        case 0xD2:

+        case 0xD3:

+        case 0xD4:

+        case 0xD5:

+        case 0xD6:

+        case 0xD7:

+            ST(nextop&7).q = ST0.q;

+            fpu_do_pop(emu);

+            break;

+

         case 0xE0:  /* FNSTSW AX */

             emu->sw.f.F87_TOP = emu->top&7;

             R_AX = emu->sw.x16;