about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-26 08:38:07 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-26 08:38:07 +0100
commit5c9ab0a27d1af77d91814b1516541ca08412e005 (patch)
treed8ce3552de4995c10e2a12b166c42a34571df532 /src
parent065d91cf9bdb075f9f0ed04af6256f8f04adc37e (diff)
downloadbox64-5c9ab0a27d1af77d91814b1516541ca08412e005.tar.gz
box64-5c9ab0a27d1af77d91814b1516541ca08412e005.zip
Added 0F 6E opcode
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run0f.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 45df3e22..b6e3bd20 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -443,6 +443,15 @@ int Run0F(x64emu_t *emu, rex_t rex)
                     GM->sw[2+i] = (EM->sd[i]<-32768)?-32768:((EM->sd[i]>32767)?32767:EM->sd[i]);

             break;

 

+        case 0x6E:                      /* MOVD Gm, Ed */

+            nextop = F8;

+            GETED(0);

+            GETGM;

+            if(rex.w)

+                GM->q = ED->q[0];

+            else

+                GM->q = ED->dword[0];    // zero extended

+            break;

         case 0x6F:                      /* MOVQ Gm, Em */

             nextop = F8;

             GETEM(0);