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

Unified Diff: src/base/build_config.h

Issue 1334793004: MIPS64: Add big-endian support for mips64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/base/build_config.h
diff --git a/src/base/build_config.h b/src/base/build_config.h
index b8ba4eb8d2c5a406c6355113c378dce8280bdaa7..ebd4479ed7dea78d2977bf0481b8b26f59fa5df1 100644
--- a/src/base/build_config.h
+++ b/src/base/build_config.h
@@ -164,7 +164,11 @@
#define V8_TARGET_LITTLE_ENDIAN 1
#endif
#elif V8_TARGET_ARCH_MIPS64
+#if defined(__MIPSEB__) || defined(V8_TARGET_ARCH_MIPS64_BE)
paul.l... 2015/09/15 00:06:41 What's the reason for the || V8_TARGET_ARCH_MIPS64
+define V8_TARGET_BIG_ENDIAN 1
paul.l... 2015/09/15 00:06:41 Typo: define needs leading #
dusan.milosavljevic 2015/09/15 12:58:09 Done.
+#else
#define V8_TARGET_LITTLE_ENDIAN 1
+#endif
#elif V8_TARGET_ARCH_X87
#define V8_TARGET_LITTLE_ENDIAN 1
#elif V8_TARGET_ARCH_PPC_LE
« build/toolchain.gypi ('K') | « build/toolchain.gypi ('k') | src/ic/mips64/ic-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698