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

Unified Diff: runtime/vm/unit_test.h

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments 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/vm/unit_test.h
diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h
index defaea68c6cd51bbaa2fb38eebf3515df9690e59..4a5dc4143e46335e4005fb9cf8c7ed0f43f52b07 100644
--- a/runtime/vm/unit_test.h
+++ b/runtime/vm/unit_test.h
@@ -157,10 +157,12 @@
#if defined(TARGET_ARCH_ARM) || \
defined(TARGET_ARCH_MIPS) || \
- defined(TARGET_ARCH_ARM64)
+ defined(TARGET_ARCH_ARM64) || \
+ defined(TARGET_ARCH_DBC)
#if defined(HOST_ARCH_ARM) || \
defined(HOST_ARCH_MIPS) || \
- defined(HOST_ARCH_ARM64)
+ defined(HOST_ARCH_ARM64) || \
+ !defined(TARGET_ARCH_DBC)
// Running on actual ARM or MIPS hardware, execute code natively.
#define EXECUTE_TEST_CODE_INT32(name, entry) reinterpret_cast<name>(entry)()
#define EXECUTE_TEST_CODE_INT64(name, entry) reinterpret_cast<name>(entry)()
@@ -374,7 +376,7 @@ class AssemblerTest {
// using the ABI calling convention.
// ResultType is the return type of the assembler test function.
// ArgNType is the type of the Nth argument.
-#if defined(USING_SIMULATOR)
+#if defined(USING_SIMULATOR) && !defined(TARGET_ARCH_DBC)
zra 2016/04/14 18:27:50 add !defined(TARGET_ARCH_DBC) at endif
Vyacheslav Egorov (Google) 2016/04/18 15:56:43 Done.
#if defined(ARCH_IS_64_BIT)
// TODO(fschneider): Make InvokeWithCodeAndThread<> more general and work on

Powered by Google App Engine
This is Rietveld 408576698