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

Unified Diff: runtime/platform/globals.h

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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: runtime/platform/globals.h
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h
index d1c6ef636165bcca9da87356a5c1439702ab6bcb..d5e959c54914acd42f0d8af51b04e9057899035b 100644
--- a/runtime/platform/globals.h
+++ b/runtime/platform/globals.h
@@ -279,6 +279,7 @@ typedef simd128_value_t fpu_register_t;
#if !defined(TARGET_ARCH_X64)
#if !defined(TARGET_ARCH_IA32)
#if !defined(TARGET_ARCH_ARM64)
+#if !defined(TARGET_ARCH_DBC)
// No target architecture specified pick the one matching the host architecture.
#if defined(HOST_ARCH_MIPS)
#define TARGET_ARCH_MIPS 1
@@ -298,6 +299,7 @@ typedef simd128_value_t fpu_register_t;
#endif
#endif
#endif
+#endif
// Verify that host and target architectures match, we cannot
// have a 64 bit Dart VM generating 32 bit code or vice-versa.
@@ -334,6 +336,9 @@ typedef simd128_value_t fpu_register_t;
#define USING_SIMULATOR 1
#endif
+#elif defined(TARGET_ARCH_DBC)
+#define USING_SIMULATOR 1
+
#else
#error Unknown architecture.
#endif

Powered by Google App Engine
This is Rietveld 408576698