We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54bbd56 commit 94d9ff5Copy full SHA for 94d9ff5
src/librustc_trans/intrinsic.rs
@@ -1203,7 +1203,8 @@ fn generic_simd_intrinsic<'a, 'tcx>(
1203
simd_add: TyUint, TyInt => add, TyFloat => fadd;
1204
simd_sub: TyUint, TyInt => sub, TyFloat => fsub;
1205
simd_mul: TyUint, TyInt => mul, TyFloat => fmul;
1206
- simd_div: TyFloat => fdiv;
+ simd_div: TyUint => udiv, TyInt => sdiv, TyFloat => fdiv;
1207
+ simd_rem: TyUint => urem, TyInt => srem, TyFloat => frem;
1208
simd_shl: TyUint, TyInt => shl;
1209
simd_shr: TyUint => lshr, TyInt => ashr;
1210
simd_and: TyUint, TyInt => and;
0 commit comments