about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/emu/x64run0f.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 69c5034d..add4ba97 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -801,6 +801,11 @@ int Run0F(x64emu_t *emu, rex_t rex)
                 case 3:                 /* STMXCSR Md */

                     ED->dword[0] = emu->mxcsr;

                     break;

+                case 7:                 /* CLFLUSH Ed */

+                    #ifdef DYNAREC

+                    cleanDBFromAddressRange((uintptr_t)ED, 8, 0);

+                    #endif

+                    break;

                 default:

                     return 1;

             }