| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 1c40ba866ff4dd51938676c598ec503a064e65e7..811d1bf3b65ced92a0095d256ac1725f624c6b35 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2903,9 +2903,6 @@ Node* WasmGraphBuilder::DefaultS128Value() {
|
| Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode,
|
| const NodeVector& inputs) {
|
| switch (opcode) {
|
| - case wasm::kExprI32x4ExtractLane:
|
| - return graph()->NewNode(jsgraph()->machine()->Int32x4ExtractLane(),
|
| - inputs[0], inputs[1]);
|
| case wasm::kExprI32x4Splat:
|
| return graph()->NewNode(jsgraph()->machine()->CreateInt32x4(), inputs[0],
|
| inputs[0], inputs[0], inputs[0]);
|
| @@ -2914,6 +2911,17 @@ Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode,
|
| }
|
| }
|
|
|
| +Node* WasmGraphBuilder::SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane,
|
| + Node* input) {
|
| + switch (opcode) {
|
| + case wasm::kExprI32x4ExtractLane:
|
| + return graph()->NewNode(jsgraph()->machine()->Int32x4ExtractLane(), input,
|
| + Int32Constant(lane));
|
| + default:
|
| + return graph()->NewNode(UnsupportedOpcode(opcode), nullptr);
|
| + }
|
| +}
|
| +
|
| static void RecordFunctionCompilation(CodeEventListener::LogEventsAndTags tag,
|
| Isolate* isolate, Handle<Code> code,
|
| const char* message, uint32_t index,
|
|
|