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

Unified Diff: src/platform-posix.cc

Issue 12920009: Use generated Neon version of MemCopy() on ARM, if platform supports it. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 9 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/platform-posix.cc
===================================================================
--- src/platform-posix.cc (revision 14076)
+++ src/platform-posix.cc (working copy)
@@ -315,9 +315,9 @@
}
-#if defined(V8_TARGET_ARCH_IA32)
+#if defined(V8_GENERATED_MEMCPY)
static OS::MemCopyFunction memcopy_function = NULL;
-// Defined in codegen-ia32.cc.
+// Defined in codegen-<arch>.cc.
OS::MemCopyFunction CreateMemCopyFunction();
// Copy memory area to disjoint memory area.
@@ -329,11 +329,11 @@
CHECK_EQ(0, memcmp(dest, src, size));
#endif
}
-#endif // V8_TARGET_ARCH_IA32
+#endif // V8_GENERATED_MEMCPY
void POSIXPostSetUp() {
-#if defined(V8_TARGET_ARCH_IA32)
+#if defined(V8_GENERATED_MEMCPY)
memcopy_function = CreateMemCopyFunction();
#endif
init_fast_sin_function();
« src/arm/codegen-arm.cc ('K') | « src/platform-linux.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698