Open
Description
I think it would be helpful to collect a list of all compiler intrinsics (the extern "platform-intrinsics"
ones) that need to be added.
-
simd_neg
-
simd_overflowing_add
etc -
simd_trunc
-
simd_round
-
simd_lt_packed
etc (all other packed intrinsics can be emulated with this one to start) -
simd_sat_shl
<-- only supported in recent LLVM -
simd_abs
-
simd_sext
(or some kind ofsimd_cast
for integer -> mask) -
simd_bitmask
/simd_select_bitmask
(these already exist, but they should be modified to accept arrays ofu8
-
simd_bswap