about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-03-04 16:21:44 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-03-04 16:21:44 +0100
commitd71e5f968abf66bb267d831bcc99fbd66f2d2d23 (patch)
tree9d69d96661b1cfd3026a4620bf5728d35f22221b /src/emu
parent4aa9fba4fa53739949cc33d16e78919674646143 (diff)
downloadbox64-d71e5f968abf66bb267d831bcc99fbd66f2d2d23.tar.gz
box64-d71e5f968abf66bb267d831bcc99fbd66f2d2d23.zip
Added DF D0..D7 ([ARM64_DYNAREC] too)
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;