Reviewers: Rodolph Perfetta (ARM),
Description:
Enable TF for the ARM64 target.
[email protected]
Please review this at https://codereview.chromium.org/437423004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -12 lines):
M src/compiler/arm64/code-generator-arm64.cc
M src/compiler/arm64/instruction-selector-arm64.cc
M src/compiler/arm64/linkage-arm64.cc
M src/compiler/pipeline.h
Index: src/compiler/arm64/code-generator-arm64.cc
diff --git a/src/compiler/arm64/code-generator-arm64.cc
b/src/compiler/arm64/code-generator-arm64.cc
index
3180f978aae3f23872656b09457740df582bcfe8..52e6b4606b4f70b38042d58ead8512e80f20faa0
100644
--- a/src/compiler/arm64/code-generator-arm64.cc
+++ b/src/compiler/arm64/code-generator-arm64.cc
@@ -15,8 +15,6 @@ namespace v8 {
namespace internal {
namespace compiler {
-#if V8_TURBOFAN_TARGET
-
#define __ masm()->
@@ -852,8 +850,6 @@ bool
CodeGenerator::IsNopForSmiCodeInlining(Handle<Code> code, int start_pc,
#endif // DEBUG
-#endif // V8_TURBOFAN_TARGET
-
} // namespace compiler
} // namespace internal
} // namespace v8
Index: src/compiler/arm64/instruction-selector-arm64.cc
diff --git a/src/compiler/arm64/instruction-selector-arm64.cc
b/src/compiler/arm64/instruction-selector-arm64.cc
index
95dc53c3441e51ff60ab9c9467828a9b8958339d..734cc6f7fd1f94bd1213f67c7f32f2231d9eddf5
100644
--- a/src/compiler/arm64/instruction-selector-arm64.cc
+++ b/src/compiler/arm64/instruction-selector-arm64.cc
@@ -9,8 +9,6 @@ namespace v8 {
namespace internal {
namespace compiler {
-#if V8_TURBOFAN_TARGET
-
enum ImmediateMode {
kArithimeticImm, // 12 bit unsigned immediate shifted left 0 or 12 bits
kShift32Imm, // 0 - 31
@@ -664,8 +662,6 @@ void InstructionSelector::VisitCall(Node* call,
BasicBlock* continuation,
}
}
-#endif // V8_TURBOFAN_TARGET
-
} // namespace compiler
} // namespace internal
} // namespace v8
Index: src/compiler/arm64/linkage-arm64.cc
diff --git a/src/compiler/arm64/linkage-arm64.cc
b/src/compiler/arm64/linkage-arm64.cc
index
72f6c55e0cc24195869350ddc210e5c0aa1f676c..240cef1e330e4ed5cf9cb567a59f151ac932f023
100644
--- a/src/compiler/arm64/linkage-arm64.cc
+++ b/src/compiler/arm64/linkage-arm64.cc
@@ -14,8 +14,6 @@ namespace v8 {
namespace internal {
namespace compiler {
-#if V8_TURBOFAN_TARGET
-
struct LinkageHelperTraits {
static Register ReturnValueReg() { return x0; }
static Register ReturnValue2Reg() { return x1; }
@@ -64,7 +62,6 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(
zone, num_params, return_type, param_types);
}
-#endif // V8_TURBOFAN_TARGET
}
}
} // namespace v8::internal::compiler
Index: src/compiler/pipeline.h
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h
index
82af766c3c426414e857effc426d2a8a69237cf8..4793b44778fc942e8651b25ec9ede821add16878
100644
--- a/src/compiler/pipeline.h
+++ b/src/compiler/pipeline.h
@@ -12,7 +12,8 @@
// Note: TODO(turbofan) implies a performance improvement opportunity,
// and TODO(name) implies an incomplete implementation
-#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM
+#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM || \
+ V8_TARGET_ARCH_ARM64
#ifndef _WIN64
#define V8_TURBOFAN_TARGET 1
#else
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.