| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 35e78b6aa2a617ad7241d5e2b33e10419e8dc920..b82fbcaae025f4de34b60ddb76e498f77b6d9b11 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2890,9 +2890,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]);
|
| @@ -2901,6 +2898,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,
|
|
|