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

Unified Diff: src/compiler/wasm-compiler.cc

Issue 2724973003: [wasm]implement simd lowering for f32x4->i32x4, i32x4 min/max and shift instructions (Closed)
Patch Set: comment Created 3 years, 10 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
« no previous file with comments | « src/compiler/simd-scalar-lowering.cc ('k') | test/cctest/wasm/test-run-wasm-simd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/wasm-compiler.cc
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
index 2d85e30f9c09a1bd0c4793ef85b67680a07b0f4c..a7113c38f079b5dfb0dfe3858d7bcfeaf3190a18 100644
--- a/src/compiler/wasm-compiler.cc
+++ b/src/compiler/wasm-compiler.cc
@@ -3335,9 +3335,7 @@ void WasmGraphBuilder::Int64LoweringForTesting() {
}
void WasmGraphBuilder::SimdScalarLoweringForTesting() {
- SimdScalarLowering(jsgraph()->graph(), jsgraph()->machine(),
- jsgraph()->common(), jsgraph()->zone(), sig_)
- .LowerGraph();
+ SimdScalarLowering(jsgraph(), sig_).LowerGraph();
}
void WasmGraphBuilder::SetSourcePosition(Node* node,
@@ -4063,8 +4061,7 @@ SourcePositionTable* WasmCompilationUnit::BuildGraphForWasmFunction(
}
if (builder.has_simd() && !CpuFeatures::SupportsSimd128()) {
- SimdScalarLowering(graph, machine, common, jsgraph_->zone(), function_->sig)
- .LowerGraph();
+ SimdScalarLowering(jsgraph_, function_->sig).LowerGraph();
}
int index = static_cast<int>(function_->func_index);
« no previous file with comments | « src/compiler/simd-scalar-lowering.cc ('k') | test/cctest/wasm/test-run-wasm-simd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698