about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-07-11 20:06:36 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-07-11 20:06:36 +0200
commite6f615a1f834d98838d14d5c837e587e4b6f4f58 (patch)
tree060771a087f46e9364e365a5d8dffb4e691f1a2c
parent813ed6f9a166faa85cf4e27cbb76a780be487cea (diff)
downloadbox64-e6f615a1f834d98838d14d5c837e587e4b6f4f58.tar.gz
box64-e6f615a1f834d98838d14d5c837e587e4b6f4f58.zip
Added 66 0F 38 14 opcode (for #33)
-rw-r--r--src/emu/x64run660f.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index 3cee8e65..1a753d2b 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -279,6 +279,16 @@ int Run660F(x64emu_t *emu, rex_t rex)
                 }

                 break;

 

+            case 0x14:  /* BLENDVPS Gx, Ex */

+                nextop = F8;

+                GETEX(0);

+                GETGX;

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

+                    if(emu->xmm[0].ud[i]&0x80000000)

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

+                }

+                break;

+

             case 0x17:      // PTEST GX, EX

                 nextop = F8;

                 GETEX(0);