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

Unified Diff: src/mips64/cpu-mips64.cc

Issue 371923006: Add mips64 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 years, 5 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
« no previous file with comments | « src/mips64/constants-mips64.cc ('k') | src/mips64/debug-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips64/cpu-mips64.cc
diff --git a/src/mips/cpu-mips.cc b/src/mips64/cpu-mips64.cc
similarity index 94%
copy from src/mips/cpu-mips.cc
copy to src/mips64/cpu-mips64.cc
index f2d50650b02e59407e4d44e43a45c6fed7fb005d..027d5a103e54b31a1bc001ffa87aba2842b6b6be 100644
--- a/src/mips/cpu-mips.cc
+++ b/src/mips64/cpu-mips64.cc
@@ -13,7 +13,7 @@
#include "src/v8.h"
-#if V8_TARGET_ARCH_MIPS
+#if V8_TARGET_ARCH_MIPS64
#include "src/assembler.h"
#include "src/macro-assembler.h"
@@ -31,7 +31,7 @@ void CpuFeatures::FlushICache(void* start, size_t size) {
}
#if !defined (USE_SIMULATOR)
-#if defined(ANDROID)
+#if defined(ANDROID) && !defined(__LP64__)
// Bionic cacheflush can typically run in userland, avoiding kernel call.
char *end = reinterpret_cast<char *>(start) + size;
cacheflush(
@@ -56,4 +56,4 @@ void CpuFeatures::FlushICache(void* start, size_t size) {
} } // namespace v8::internal
-#endif // V8_TARGET_ARCH_MIPS
+#endif // V8_TARGET_ARCH_MIPS64
« no previous file with comments | « src/mips64/constants-mips64.cc ('k') | src/mips64/debug-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698