summaryrefslogtreecommitdiff
path: root/base/base_cpudep.c
diff options
context:
space:
mode:
Diffstat (limited to 'base/base_cpudep.c')
-rw-r--r--base/base_cpudep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/base_cpudep.c b/base/base_cpudep.c
index 5f8e2294..c2b29672 100644
--- a/base/base_cpudep.c
+++ b/base/base_cpudep.c
@@ -254,6 +254,10 @@ void fz_cpudetect(void)
fz_cpuflags = flags;
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
+ __asm__ __volatile__ ("emms\n\t");
+#endif
+
dumpflags();
}