Function safe_arch::set_i16_m128i
source ยท pub fn set_i16_m128i(
a: i16,
b: i16,
c: i16,
d: i16,
e: i16,
f: i16,
g: i16,
h: i16,
) -> m128i
Available with target feature
sse2
only.Expand description
Sets the args into an m128i
, first arg is the high lane.
let a = m128i::from([7_i16, 6, 5, 4, 3, 2, 1, 0]);
let b = set_i16_m128i(0_i16, 1, 2, 3, 4, 5, 6, 7);
assert_eq!(<[i16; 8]>::from(a), <[i16; 8]>::from(b));