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

Unified Diff: src/globals.h

Issue 23156006: [v8-dev] ARM: Improve Lithium register constraints. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months 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 415b32b87a7b841efb09f4af6d7d6b8edfadc884..ebfc45cfd424b60f0ee4f49ca436d015ea37c47b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -163,6 +163,13 @@ namespace internal {
#error Unknown target architecture endiannes
#endif
+#if V8_TARGET_ARCH_ARM
+// On ARM, for some arithmetic instructions, the macro assembler defines
+// XXXMemOperand macro instructions which are able to load the right operand
+// from memory.
+#define V8_BETTER_OPERAND_ON_RIGHT
Benedikt Meurer 2013/08/20 11:55:34 I don't like this #define. Why not switch the orde
vincent.belliard.fr 2013/08/22 12:35:48 Once again, the code has been made for IA32 where
Benedikt Meurer 2013/08/23 07:41:02 I still don't see why this macro is needed at all.
+#endif
+
// Support for alternative bool type. This is only enabled if the code is
// compiled with USE_MYBOOL defined. This catches some nasty type bugs.
// For instance, 'bool b = "false";' results in b == true! This is a hidden

Powered by Google App Engine
This is Rietveld 408576698