Commit 3c746bed authored by Ng Zhi An's avatar Ng Zhi An Committed by Commit Bot

[wasm-simd][fuzzer] Fix fuzzing simd load lane

Load lane instructions also need a v128 input.

Bug: chromium:1173488
Change-Id: I45e4c4f8fc93a5b3246ac4d1b07925b41cbe3e89
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2673275Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72517}
parent 01fbc8c4
......@@ -1604,10 +1604,10 @@ void WasmGenerator::Generate<ValueType::kS128>(DataRange* data) {
&WasmGenerator::memop<kExprS128Load64Splat>,
&WasmGenerator::memop<kExprS128Load32Zero>,
&WasmGenerator::memop<kExprS128Load64Zero>,
&WasmGenerator::simd_lane_memop<kExprS128Load8Lane, 16>,
&WasmGenerator::simd_lane_memop<kExprS128Load16Lane, 8>,
&WasmGenerator::simd_lane_memop<kExprS128Load32Lane, 4>,
&WasmGenerator::simd_lane_memop<kExprS128Load64Lane, 2>,
&WasmGenerator::simd_lane_memop<kExprS128Load8Lane, 16, ValueType::kS128>,
&WasmGenerator::simd_lane_memop<kExprS128Load16Lane, 8, ValueType::kS128>,
&WasmGenerator::simd_lane_memop<kExprS128Load32Lane, 4, ValueType::kS128>,
&WasmGenerator::simd_lane_memop<kExprS128Load64Lane, 2, ValueType::kS128>,
};
GenerateOneOf(alternatives, data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment