[wasm-simd][fuzzer] Add replace lanes
Bug: v8:10180 Change-Id: Ic3dc7394962439adca0482750593a1c22c840054 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2225091 Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/master@{#68123}
This commit is contained in:
parent
5d8f3b46a5
commit
a96d243d2f
@ -1189,6 +1189,19 @@ void WasmGenerator::Generate<ValueType::kS128>(DataRange* data) {
|
||||
}
|
||||
|
||||
constexpr GenerateFn alternatives[] = {
|
||||
&WasmGenerator::simd_lane_op<kExprI8x16ReplaceLane, 16, ValueType::kS128,
|
||||
ValueType::kI32>,
|
||||
&WasmGenerator::simd_lane_op<kExprI16x8ReplaceLane, 8, ValueType::kS128,
|
||||
ValueType::kI32>,
|
||||
&WasmGenerator::simd_lane_op<kExprI32x4ReplaceLane, 4, ValueType::kS128,
|
||||
ValueType::kI32>,
|
||||
&WasmGenerator::simd_lane_op<kExprI64x2ReplaceLane, 2, ValueType::kS128,
|
||||
ValueType::kI64>,
|
||||
&WasmGenerator::simd_lane_op<kExprF32x4ReplaceLane, 4, ValueType::kS128,
|
||||
ValueType::kF32>,
|
||||
&WasmGenerator::simd_lane_op<kExprF64x2ReplaceLane, 2, ValueType::kS128,
|
||||
ValueType::kF64>,
|
||||
|
||||
&WasmGenerator::op_with_prefix<kExprI8x16Splat, ValueType::kI32>,
|
||||
&WasmGenerator::op_with_prefix<kExprI8x16Eq, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
|
Loading…
Reference in New Issue
Block a user