about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run0f.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 50867d5a..6c68434f 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -84,6 +84,23 @@ int Run0F(x64emu_t *emu, rex_t rex)
             my_cpuid(emu, tmp32u);

             break;

 

+        case 0xAE:                      /* Grp Ed (SSE) */

+            nextop = F8;

+            if((nextop&0xF8)==0xE8) {

+                return 0;                   /* LFENCE */

+            }

+            if((nextop&0xF8)==0xF0) {

+                return 0;                   /* MFENCE */

+            }

+            if((nextop&0xF8)==0xF8) {

+                return 0;                   /* SFENCE */

+            }

+            GETED;

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

+                default:

+                    return 1;

+            }

+            break;

         case 0xAF:                      /* IMUL Gd,Ed */

             nextop = F8;

             GETED;