about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-04-08 13:14:38 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-04-08 13:14:38 +0200
commit56d0e03991404b77e1d84964ac3d04caf71d12f0 (patch)
treec796fe3b49a608abb1b2a22e2e228317a3583f7e /src/emu
parentc765943fdff2d1ad60d0817b67fafccc1190fa57 (diff)
downloadbox64-56d0e03991404b77e1d84964ac3d04caf71d12f0.tar.gz
box64-56d0e03991404b77e1d84964ac3d04caf71d12f0.zip
Added 66 0F 38 28 opcode ({ARM64_DYNAREC] too)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run660f.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index b6f6a7e6..654cd684 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -498,6 +498,13 @@ uintptr_t Run660F(x64emu_t *emu, rex_t rex, uintptr_t addr)
                     GX->sq[i] = EX->sd[i];

                 break;

             

+            case 0x28:  /* PMULDQ Gx, Ex */

+                nextop = F8;

+                GETEX(0);

+                GETGX;

+                GX->sq[1] = ((int64_t)GX->sd[2])*(int64_t)EX->sd[2];

+                GX->sq[0] = ((int64_t)GX->sd[0])*(int64_t)EX->sd[0];

+                break;

             case 0x29:  /* PCMPEQQ Gx, Ex */

                 nextop = F8;

                 GETEX(0);