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

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

Issue 2701003003: [V8] Implement remaining SIMD operations on ARM. (Closed)
Patch Set: 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/simplified-lowering.cc ('k') | src/compiler/x64/instruction-selector-x64.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 b461e2fab7c90eca9823f5180241620a856b53fb..08a42322ea823a36f38c2c7c623562a17afaaa98 100644
--- a/src/compiler/wasm-compiler.cc
+++ b/src/compiler/wasm-compiler.cc
@@ -3587,15 +3587,6 @@ Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode,
return graph()->NewNode(
jsgraph()->machine()->Uint8x16GreaterThanOrEqual(), inputs[0],
inputs[1]);
- case wasm::kExprS32x4Select:
- return graph()->NewNode(jsgraph()->machine()->Simd32x4Select(), inputs[0],
- inputs[1], inputs[2]);
- case wasm::kExprS16x8Select:
- return graph()->NewNode(jsgraph()->machine()->Simd16x8Select(), inputs[0],
- inputs[1], inputs[2]);
- case wasm::kExprS8x16Select:
- return graph()->NewNode(jsgraph()->machine()->Simd8x16Select(), inputs[0],
- inputs[1], inputs[2]);
case wasm::kExprS128And:
return graph()->NewNode(jsgraph()->machine()->Simd128And(), inputs[0],
inputs[1]);
@@ -3607,6 +3598,33 @@ Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode,
inputs[1]);
case wasm::kExprS128Not:
return graph()->NewNode(jsgraph()->machine()->Simd128Not(), inputs[0]);
+ case wasm::kExprS32x4Select:
+ return graph()->NewNode(jsgraph()->machine()->Simd32x4Select(), inputs[0],
+ inputs[1], inputs[2]);
+ case wasm::kExprS16x8Select:
+ return graph()->NewNode(jsgraph()->machine()->Simd16x8Select(), inputs[0],
+ inputs[1], inputs[2]);
+ case wasm::kExprS8x16Select:
+ return graph()->NewNode(jsgraph()->machine()->Simd8x16Select(), inputs[0],
+ inputs[1], inputs[2]);
+ case wasm::kExprS1x4AnyTrue:
+ return graph()->NewNode(jsgraph()->machine()->Simd1x4AnyTrue(),
+ inputs[0]);
+ case wasm::kExprS1x4AllTrue:
+ return graph()->NewNode(jsgraph()->machine()->Simd1x4AllTrue(),
+ inputs[0]);
+ case wasm::kExprS1x8AnyTrue:
+ return graph()->NewNode(jsgraph()->machine()->Simd1x8AnyTrue(),
+ inputs[0]);
+ case wasm::kExprS1x8AllTrue:
+ return graph()->NewNode(jsgraph()->machine()->Simd1x8AllTrue(),
+ inputs[0]);
+ case wasm::kExprS1x16AnyTrue:
+ return graph()->NewNode(jsgraph()->machine()->Simd1x16AnyTrue(),
+ inputs[0]);
+ case wasm::kExprS1x16AllTrue:
+ return graph()->NewNode(jsgraph()->machine()->Simd1x16AllTrue(),
+ inputs[0]);
default:
return graph()->NewNode(UnsupportedOpcode(opcode), nullptr);
}
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698