Skip to content

Commit f15deac

Browse files
authored
[Relaxed SIMD] Add missing relaxed entries in features.h (#7778)
This is needed to prevent fuzzer errors.
1 parent 8b778c5 commit f15deac

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/ir/features.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ inline FeatureSet get(UnaryOp op) {
7373
ret.setSignExt();
7474
break;
7575
}
76+
case RelaxedTruncSVecF32x4ToVecI32x4:
77+
case RelaxedTruncUVecF32x4ToVecI32x4:
78+
case RelaxedTruncZeroSVecF64x2ToVecI32x4:
79+
case RelaxedTruncZeroUVecF64x2ToVecI32x4: {
80+
ret.setSIMD();
81+
ret.setRelaxedSIMD();
82+
break;
83+
}
7684
default: {}
7785
}
7886
return ret;
@@ -159,6 +167,16 @@ inline FeatureSet get(BinaryOp op) {
159167
ret.setSIMD();
160168
break;
161169
}
170+
case RelaxedMinVecF32x4:
171+
case RelaxedMaxVecF32x4:
172+
case RelaxedMinVecF64x2:
173+
case RelaxedMaxVecF64x2:
174+
case RelaxedSwizzleVecI8x16:
175+
case RelaxedQ15MulrSVecI16x8: {
176+
ret.setSIMD();
177+
ret.setRelaxedSIMD();
178+
break;
179+
}
162180
default: {}
163181
}
164182
return ret;

0 commit comments

Comments
 (0)