We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0263edc commit 635a5eaCopy full SHA for 635a5ea
Makefile
@@ -1012,6 +1012,11 @@ $(RUNTIME_DIR)/%.npic.$(O): OC_CFLAGS += $(OC_NATIVE_CFLAGS) $(SHAREDLIB_CFLAGS)
1012
$(RUNTIME_DIR)/%.npic.$(O): OC_CPPFLAGS += $(OC_NATIVE_CPPFLAGS)
1013
$(DEPDIR)/$(RUNTIME_DIR)/%.npic.$(D): OC_CPPFLAGS += $(OC_NATIVE_CPPFLAGS)
1014
1015
+# The major GC performs better with this flag on Intel processors
1016
+# This is a workaround for an Intel CPU bug:
1017
+# https://www.intel.co.uk/content/www/uk/en/support/articles/000055650/processors.html
1018
+$(RUNTIME_DIR)/major_gc.$(O): OC_CFLAGS += $(INTEL_JCC_BUG_CFLAGS)
1019
+
1020
## Compilation of runtime C files
1021
1022
# The COMPILE_C_FILE macro below receives as argument the pattern
0 commit comments