about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-07-11 17:28:57 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-07-11 17:28:57 +0200
commit85dba348a7ad232f05041f7d22ce769332df8258 (patch)
treef48200e2c7b45468b5556d767e7576402e95cc43 /src
parenta7422d11edc92f16e8a0d6a479d5efb016a70c19 (diff)
downloadbox64-85dba348a7ad232f05041f7d22ce769332df8258.tar.gz
box64-85dba348a7ad232f05041f7d22ce769332df8258.zip
Added 66 0F 38 0E opcode (for #33)
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run660f.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index a98cc3c9..5439ff5f 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -279,6 +279,17 @@ int Run660F(x64emu_t *emu, rex_t rex)
                 }

                 break;

 

+            case 0x0E:  /* PBLENDW Gx, Ex, Ib */

+                nextop = F8;

+                GETEX(1);

+                GETGX;

+                tmp8u = F8;

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

+                    if(tmp8u&(1<<i))

+                        GX->uw[i] = EX->uw[i];

+                }

+                break;

+

             case 0x17:      // PTEST GX, EX

                 nextop = F8;

                 GETEX(0);