Skip to content

Commit 42264c2

Browse files
committed
update test
1 parent 94881d1 commit 42264c2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/wasm/wasm-validator.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,10 +1503,10 @@ void FunctionValidator::visitSIMDShuffle(SIMDShuffle* curr) {
15031503
void FunctionValidator::visitSIMDTernary(SIMDTernary* curr) {
15041504
FeatureSet required = FeatureSet::None;
15051505
switch (curr->op) {
1506-
case RelaxedMaddVecF16x8:
1507-
case RelaxedNmaddVecF16x8:
1506+
case MaddVecF16x8:
1507+
case NmaddVecF16x8:
15081508
required |= FeatureSet::FP16;
1509-
[[fallthrough]];
1509+
break;
15101510
case LaneselectI8x16:
15111511
case LaneselectI16x8:
15121512
case LaneselectI32x4:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
;; RUN: not wasm-opt --enable-simd %s 2>&1 | filecheck %s
22

33
;; CHECK: SIMD ternary operation requires additional features, on
4-
;; CHECK: [--enable-relaxed-simd --enable-fp16]
4+
;; CHECK: [--enable-fp16]
55

66
(module
77
(func $fp16 (param v128 v128 v128)
8-
(f16x8.relaxed_madd (local.get 0) (local.get 1) (local.get 2))
8+
(f16x8.madd (local.get 0) (local.get 1) (local.get 2))
99
)
1010
)

0 commit comments

Comments
 (0)