about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-07-24 20:41:37 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-07-24 20:41:37 +0200
commit1ff0a7c4e7bd917ddabf1b9fa7c04046872565fe (patch)
treee6076258b4a145c13bf5f685a55e7907f4caedb7
parent49991a3341b36442b083618283862c79dae42f11 (diff)
downloadbox64-1ff0a7c4e7bd917ddabf1b9fa7c04046872565fe.tar.gz
box64-1ff0a7c4e7bd917ddabf1b9fa7c04046872565fe.zip
Added 66 0F D0 opcode
-rw-r--r--src/emu/x64run660f.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index e3b71d4b..6f58cfa9 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -1757,7 +1757,13 @@ int Run660F(x64emu_t *emu, rex_t rex)
             emu->regs[tmp8u].word[0] = __builtin_bswap16(emu->regs[tmp8u].word[0]);

         }

         break;

-

+    case 0xD0:  /* ADDSUBPD Gx, Ex */

+        nextop = F8;

+        GETEX(0);

+        GETGX;

+        GX->d[0] -= EX->d[0];

+        GX->d[1] += EX->d[1];

+        break;

     case 0xD1:  /* PSRLW Gx, Ex */

         nextop = F8;

         GETEX(0);