about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-05-20 14:52:48 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-05-20 14:52:48 +0200
commita7f40416041da33091409b27d8b17292eb5039a9 (patch)
treef156b72f0d55de53de34c860e94134b704c47fcc /src
parent72e05a52b2e4700795f46939564ade6d1be55d68 (diff)
downloadbox64-a7f40416041da33091409b27d8b17292eb5039a9.tar.gz
box64-a7f40416041da33091409b27d8b17292eb5039a9.zip
[INTERP] Small change on 0F 2E/2F opcode, and alows Interp->Dynarec on 80..8F opcodes
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run0f.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 6d79fb18..4163ddff 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -385,7 +385,7 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
             nextop = F8;

             GETEX(0);

             GETGX;

-            if(isnan(GX->f[0]) || isnan(EX->f[0])) {

+            if(isnanf(GX->f[0]) || isnanf(EX->f[0])) {

                 SET_FLAG(F_ZF); SET_FLAG(F_PF); SET_FLAG(F_CF);

             } else if(isgreater(GX->f[0], EX->f[0])) {

                 CLEAR_FLAG(F_ZF); CLEAR_FLAG(F_PF); CLEAR_FLAG(F_CF);

@@ -1127,7 +1127,7 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
         GOCOND(0x80

             , tmp32s = F32S; CHECK_FLAGS(emu);

             , addr += tmp32s;

-            ,,

+            ,,STEP3

         )                               /* 0x80 -> 0x8F Jxx */ //STEP3

         GOCOND(0x90

             , nextop = F8; CHECK_FLAGS(emu);