about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-07-09 20:31:09 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-07-09 20:31:09 +0200
commit005e3ddf7d6b1d427dcd0d73e12d0ba109986ea7 (patch)
treee64db926e0e8a321711be5213147baa6dbe3ef4b /src/emu
parentc5fbc5efd336baa8f31b95e4027d237e553bd831 (diff)
downloadbox64-005e3ddf7d6b1d427dcd0d73e12d0ba109986ea7.tar.gz
box64-005e3ddf7d6b1d427dcd0d73e12d0ba109986ea7.zip
Added 66 0F 3A 17 opcode (for #33)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run660f.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index 94445359..657c8485 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -396,6 +396,15 @@ int Run660F(x64emu_t *emu, rex_t rex)
                 }

                 break;

 

+            case 0x17:      // EXTRACTPS ED, GX, u8

+                nextop = F8;

+                GETED(1);

+                GETGX;

+                tmp8u = F8;

+                ED->dword[0] = GX->ud[tmp8u&3];

+                if(MODREG && rex.w) ED->dword[1] = 0;

+                break;

+

             case 0x21:      // INSERTPS GX, EX, u8

                 nextop = F8;

                 GETEX(1);