[wasm-simd][fuzzer] Add some i64x2 ops to fuzzer

Bug: v8:10180
Change-Id: Ia7bb052d8f259939f17c7261a5ae3f2475bcf255
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2173945
Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67624}
This commit is contained in:
Ng Zhi An 2020-05-05 17:48:23 -07:00 committed by Commit Bot
parent d6e94b0352
commit 7215211e37

View File

@ -1192,6 +1192,18 @@ void WasmGenerator::Generate<ValueType::kS128>(DataRange* data) {
ValueType::kS128>,
&WasmGenerator::simd_op<kExprI64x2Splat, ValueType::kI64>,
&WasmGenerator::simd_op<kExprI64x2Neg, ValueType::kS128>,
&WasmGenerator::simd_op<kExprI64x2Shl, ValueType::kS128, ValueType::kI32>,
&WasmGenerator::simd_op<kExprI64x2ShrS, ValueType::kS128,
ValueType::kI32>,
&WasmGenerator::simd_op<kExprI64x2ShrU, ValueType::kS128,
ValueType::kI32>,
&WasmGenerator::simd_op<kExprI64x2Add, ValueType::kS128,
ValueType::kS128>,
&WasmGenerator::simd_op<kExprI64x2Sub, ValueType::kS128,
ValueType::kS128>,
&WasmGenerator::simd_op<kExprI64x2Mul, ValueType::kS128,
ValueType::kS128>,
&WasmGenerator::simd_op<kExprF32x4Splat, ValueType::kF32>,
&WasmGenerator::simd_op<kExprF32x4Eq, ValueType::kS128, ValueType::kS128>,
@ -1239,9 +1251,6 @@ void WasmGenerator::Generate<ValueType::kS128>(DataRange* data) {
&WasmGenerator::simd_op<kExprF64x2Max, ValueType::kS128,
ValueType::kS128>,
&WasmGenerator::simd_op<kExprI64x2Add, ValueType::kS128,
ValueType::kS128>,
&WasmGenerator::simd_shuffle,
&WasmGenerator::memop<kExprS128LoadMem>};