summaryrefslogtreecommitdiff
path: root/Libraries/LibX86
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibX86')
-rw-r--r--Libraries/LibX86/Instruction.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibX86/Instruction.cpp b/Libraries/LibX86/Instruction.cpp
index 6d59beccec..54f878b3e3 100644
--- a/Libraries/LibX86/Instruction.cpp
+++ b/Libraries/LibX86/Instruction.cpp
@@ -29,6 +29,10 @@
#include <LibX86/Interpreter.h>
#include <stdio.h>
+#if defined(__GNUC__) && !defined(__clang__)
+# pragma GCC optimize("O3")
+#endif
+
namespace X86 {
enum IsLockPrefixAllowed {