about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-04-24 12:07:45 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-04-24 12:07:45 +0200
commit2e90a5dbaf28c699dc26dad1574f37886eff8aad (patch)
tree609e8c9d6e2deeed789dd0ff577647ca30f4aa7c /src
parentd988a39456ca56b638bfe2ba1271a0f5f436a3e0 (diff)
downloadbox64-2e90a5dbaf28c699dc26dad1574f37886eff8aad.tar.gz
box64-2e90a5dbaf28c699dc26dad1574f37886eff8aad.zip
[INTERP] Cosmetic change to 0F 1C..1E opcodes
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run0f.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 86d49178..61fa11f4 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -576,7 +576,7 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
                     GETEM(0);

                     GETGM;

                     for (int i=0; i<8; ++i) {

-                        GM->sb[i] = abs(EM->sb[i]);

+                        GM->ub[i] = abs(EM->sb[i]);

                     }

                     break;

                 case 0x1D:  /* PABSW Gm, Em */

@@ -584,7 +584,7 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
                     GETEM(0);

                     GETGM;

                     for (int i=0; i<4; ++i) {

-                        GM->sw[i] = abs(EM->sw[i]);

+                        GM->uw[i] = abs(EM->sw[i]);

                     }

                     break;

                 case 0x1E:  /* PABSD Gm, Em */

@@ -592,7 +592,7 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
                     GETEM(0);

                     GETGM;

                     for (int i=0; i<2; ++i) {

-                        GM->sd[i] = abs(EM->sd[i]);

+                        GM->ud[i] = abs(EM->sd[i]);

                     }

                     break;