about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run0f.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 0c7d53ba..7426a4af 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -53,6 +53,18 @@ int Run0F(x64emu_t *emu, rex_t rex)
             emit_signal(emu, SIGILL, (void*)R_RIP, 0);

             break;

 

+        case 0x0D:

+            nextop = F8;

+            GETED(0);

+            switch((nextop>>3)&7) {

+                case 1: //PREFETCHW

+                    __builtin_prefetch((void*)ED, 1, 0);

+                    break;

+                default:    //???

+                    return 1;

+            }

+            break;

+

         case 0x10:                      /* MOVUPS Gx,Ex */

             nextop = F8;

             GETEX(0);