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

Unified Diff: src/compiler/simd-scalar-lowering.h

Issue 2514663002: [simd] Disable Simd Scalar lowering for x64, enable tests for all other architectures. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | src/compiler/simd-scalar-lowering.cc » ('j') | test/cctest/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/simd-scalar-lowering.h
diff --git a/src/compiler/simd-scalar-lowering.h b/src/compiler/simd-scalar-lowering.h
index 39449f4b9ff54d01a82fc25cf204bab9efa23812..4ab1ab1dec174ebd65b7520980644a7d15df03d0 100644
--- a/src/compiler/simd-scalar-lowering.h
+++ b/src/compiler/simd-scalar-lowering.h
@@ -53,6 +53,12 @@ class SimdScalarLowering {
SimdType ReplacementType(Node* node);
void PreparePhiReplacement(Node* phi);
void SetLoweredType(Node* node, Node* output);
+ bool IsScalarLoweringEnabled() {
bbudge 2016/11/18 19:30:59 How hard is it to just not even create a SimdScala
gdeepti 2016/11/21 19:30:02 Fixed to use SupportsSimd128 function, moved condi
+#if V8_TARGET_ARCH_X64
+ return false;
+#endif
+ return true;
+ }
struct NodeState {
Node* node;
« no previous file with comments | « no previous file | src/compiler/simd-scalar-lowering.cc » ('j') | test/cctest/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698