Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index a7113c38f079b5dfb0dfe3858d7bcfeaf3190a18..40ca065a03faa8249659935603fefc12a7c79d64 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -3408,6 +3408,21 @@ Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode, |
case wasm::kExprF32x4Ne: |
return graph()->NewNode(jsgraph()->machine()->Float32x4NotEqual(), |
inputs[0], inputs[1]); |
+ // TODO(aseemgarg): Get rid of GreaterThan and GreaterThanEquals machine ops |
+ // for all SIMD types. |
+ case wasm::kExprF32x4Gt: |
+ return graph()->NewNode(jsgraph()->machine()->Float32x4GreaterThan(), |
+ inputs[0], inputs[1]); |
+ case wasm::kExprF32x4Ge: |
+ return graph()->NewNode( |
+ jsgraph()->machine()->Float32x4GreaterThanOrEqual(), inputs[0], |
+ inputs[1]); |
+ case wasm::kExprF32x4Lt: |
+ return graph()->NewNode(jsgraph()->machine()->Float32x4LessThan(), |
+ inputs[0], inputs[1]); |
+ case wasm::kExprF32x4Le: |
+ return graph()->NewNode(jsgraph()->machine()->Float32x4LessThanOrEqual(), |
+ inputs[0], inputs[1]); |
case wasm::kExprI32x4Splat: |
return graph()->NewNode(jsgraph()->machine()->Int32x4Splat(), inputs[0]); |
case wasm::kExprI32x4SConvertF32x4: |