Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: src/globals.h

Issue 1375253002: [WIP][turbofan] Instruction scheduler for Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed issues and add support for a few other platforms. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 2b73cb04cf3073b6fd7a76c17a4c335a2f011784..3c71ed0f94f209c3db2c8faa2337d5bc018d893c 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -30,6 +30,13 @@
# define V8_INFINITY INFINITY
#endif
+#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || \
+ V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64
+#define V8_TURBOFAN_INSTRUCTION_SCHEDULING 1
+#else
+#define V8_TURBOFAN_INSTRUCTION_SCHEDULING 0
+#endif
Jarin 2015/11/24 11:43:03 I think it would be better to remove this and inst
baptiste.afsa1 2015/12/01 09:08:43 Done.
+
namespace v8 {
namespace base {

Powered by Google App Engine
This is Rietveld 408576698