summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2022-04-09 13:27:37 +0900
committerGitHub <noreply@github.com>2022-04-09 13:27:37 +0900
commit5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6 (patch)
tree36670b7ea05adf9aa1989fac978090b234571da0 /scripts
parent094deb0b1d1def452cb784191004a5e2001c6a99 (diff)
downloadbinaryen-5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6.tar.gz
binaryen-5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6.tar.bz2
binaryen-5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6.zip
[SIMD] Make swizzle's opcode name consistent (NFC) (#4585)
Other opcode ends with `Inxm` or `Fnxm` (where n and m are integers), while `i8x16.swizzle`'s opcode name doesn't have an `I` in there.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-s-parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen-s-parser.py b/scripts/gen-s-parser.py
index ce0507442..26a96fdd6 100755
--- a/scripts/gen-s-parser.py
+++ b/scripts/gen-s-parser.py
@@ -503,7 +503,7 @@ instructions = [
("i64x2.extend_high_i32x4_s", "makeUnary(s, UnaryOp::ExtendHighSVecI32x4ToVecI64x2)"),
("i64x2.extend_low_i32x4_u", "makeUnary(s, UnaryOp::ExtendLowUVecI32x4ToVecI64x2)"),
("i64x2.extend_high_i32x4_u", "makeUnary(s, UnaryOp::ExtendHighUVecI32x4ToVecI64x2)"),
- ("i8x16.swizzle", "makeBinary(s, BinaryOp::SwizzleVec8x16)"),
+ ("i8x16.swizzle", "makeBinary(s, BinaryOp::SwizzleVecI8x16)"),
("i16x8.extadd_pairwise_i8x16_s", "makeUnary(s, UnaryOp::ExtAddPairwiseSVecI8x16ToI16x8)"),
("i16x8.extadd_pairwise_i8x16_u", "makeUnary(s, UnaryOp::ExtAddPairwiseUVecI8x16ToI16x8)"),
("i32x4.extadd_pairwise_i16x8_s", "makeUnary(s, UnaryOp::ExtAddPairwiseSVecI16x8ToI32x4)"),
@@ -516,7 +516,7 @@ instructions = [
("f64x2.promote_low_f32x4", "makeUnary(s, UnaryOp::PromoteLowVecF32x4ToVecF64x2)"),
# relaxed SIMD ops
- ("i8x16.relaxed_swizzle", "makeBinary(s, BinaryOp::RelaxedSwizzleVec8x16)"),
+ ("i8x16.relaxed_swizzle", "makeBinary(s, BinaryOp::RelaxedSwizzleVecI8x16)"),
("i32x4.relaxed_trunc_f32x4_s", "makeUnary(s, UnaryOp::RelaxedTruncSVecF32x4ToVecI32x4)"),
("i32x4.relaxed_trunc_f32x4_u", "makeUnary(s, UnaryOp::RelaxedTruncUVecF32x4ToVecI32x4)"),
("i32x4.relaxed_trunc_f64x2_s_zero", "makeUnary(s, UnaryOp::RelaxedTruncZeroSVecF64x2ToVecI32x4)"),