about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-02 14:27:49 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-02 14:27:49 +0200
commite2a7dd0f1760b0567067d20e55021746b57b2a37 (patch)
tree681ab08423938c021493d2f0cd6de6416d62661c /src/emu
parentf781537adbe4461a72ac61bf24ace40b63c0d1c7 (diff)
downloadbox64-e2a7dd0f1760b0567067d20e55021746b57b2a37.tar.gz
box64-e2a7dd0f1760b0567067d20e55021746b57b2a37.zip
Added 0F E7 opcode ([DYNAREC] too)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run0f.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index add4ba97..3aeb8c9a 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -22,6 +22,7 @@
 #include "bridge.h"

 #include "signals.h"

 #ifdef DYNAREC

+#include "custommem.h"

 #include "../dynarec/arm64_lock.h"

 #endif

 

@@ -1360,7 +1361,14 @@ int Run0F(x64emu_t *emu, rex_t rex)
                 GM->sw[i] = (tmp32s>>16)&0xffff;

             }

             break;

-

+        case 0xE7:                   /* MOVNTQ Em,Gm */

+            nextop = F8;

+            if((nextop&0xC0)==0xC0)

+                return 1;

+            GETEM(0);

+            GETGM;

+            EM->q = GM->q;

+            break;

         case 0xE8:                   /* PSUBSB Gm,Em */

             nextop = F8;

             GETEM(0);