[wasm-simd][fuzzer] Add more i8x16 and i16x8 ops
Bug: v8:10180 Change-Id: I700d10c82f6691bfc9a021fec120779c9d0a08e7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2107647 Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/master@{#66778}
This commit is contained in:
parent
70bc9b5a41
commit
aff14d7ee8
@ -1056,6 +1056,33 @@ void WasmGenerator::Generate<ValueType::kS128>(DataRange* data) {
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16GeU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16Neg, ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16Shl, ValueType::kS128, ValueType::kI32>,
|
||||
&WasmGenerator::simd_op<kExprI8x16ShrS, ValueType::kS128,
|
||||
ValueType::kI32>,
|
||||
&WasmGenerator::simd_op<kExprI8x16ShrU, ValueType::kS128,
|
||||
ValueType::kI32>,
|
||||
&WasmGenerator::simd_op<kExprI8x16Add, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16AddSaturateS, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16AddSaturateU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16Sub, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16SubSaturateS, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16SubSaturateU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16MinS, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16MinU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
// I8x16Mul is prototyped but not in the proposal, thus omitted here.
|
||||
&WasmGenerator::simd_op<kExprI8x16MaxS, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI8x16MaxU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
|
||||
&WasmGenerator::simd_op<kExprI16x8Splat, ValueType::kI32>,
|
||||
&WasmGenerator::simd_op<kExprI16x8Eq, ValueType::kS128, ValueType::kS128>,
|
||||
@ -1076,6 +1103,34 @@ void WasmGenerator::Generate<ValueType::kS128>(DataRange* data) {
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8GeU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8Neg, ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8Shl, ValueType::kS128, ValueType::kI32>,
|
||||
&WasmGenerator::simd_op<kExprI16x8ShrS, ValueType::kS128,
|
||||
ValueType::kI32>,
|
||||
&WasmGenerator::simd_op<kExprI16x8ShrU, ValueType::kS128,
|
||||
ValueType::kI32>,
|
||||
&WasmGenerator::simd_op<kExprI16x8Add, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8AddSaturateS, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8AddSaturateU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8Sub, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8SubSaturateS, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8SubSaturateU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8Mul, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8MinS, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8MinU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8MaxS, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8MaxU, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
|
||||
&WasmGenerator::simd_op<kExprI32x4Splat, ValueType::kI32>,
|
||||
&WasmGenerator::simd_op<kExprI32x4Eq, ValueType::kS128, ValueType::kS128>,
|
||||
@ -1101,10 +1156,6 @@ void WasmGenerator::Generate<ValueType::kS128>(DataRange* data) {
|
||||
&WasmGenerator::simd_op<kExprF32x4Splat, ValueType::kF32>,
|
||||
&WasmGenerator::simd_op<kExprF64x2Splat, ValueType::kF64>,
|
||||
|
||||
&WasmGenerator::simd_op<kExprI8x16Add, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI16x8Add, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI32x4Add, ValueType::kS128,
|
||||
ValueType::kS128>,
|
||||
&WasmGenerator::simd_op<kExprI64x2Add, ValueType::kS128,
|
||||
|
Loading…
Reference in New Issue
Block a user