about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-03-21 04:08:14 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-03-21 04:08:14 +0100
commit1dca97b4d3663af54e48057c63c7d4b17b75dd85 (patch)
treeea4302d9c62599042a612c72166c2d5b786e219e /src
parent14cf474167cae762fcdfa5a4f8acd7f71fd0c673 (diff)
downloadbox64-1dca97b4d3663af54e48057c63c7d4b17b75dd85.tar.gz
box64-1dca97b4d3663af54e48057c63c7d4b17b75dd85.zip
Added 66 0F BF opcode
Diffstat (limited to 'src')
-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 81cbbf94..17b796fe 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -2101,6 +2101,15 @@ uintptr_t Run660F(x64emu_t *emu, rex_t rex, uintptr_t addr)
         else

             GW->sword[0] = EB->sbyte[0];

         break;

+    case 0xBF:                      /* MOVSX Gw,Ew */

+        nextop = F8;

+        GETEW(0);

+        GETGW;

+        if(rex.w)

+            GW->sq[0] = EB->sword[0];

+        else

+            GW->sword[0] = EB->sword[0];

+        break;

 

     case 0xC1:                      /* XADD Gw,Ew */ // Xchange and Add

         nextop = F8;