File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1503,10 +1503,10 @@ void FunctionValidator::visitSIMDShuffle(SIMDShuffle* curr) {
15031503void 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:
Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments