Function safe_arch::set_reversed_i8_m128i

source ยท
pub fn set_reversed_i8_m128i(
    a: i8,
    b: i8,
    c: i8,
    d: i8,
    e: i8,
    f: i8,
    g: i8,
    h: i8,
    i: i8,
    j: i8,
    k: i8,
    l: i8,
    m: i8,
    n: i8,
    o: i8,
    p: i8,
) -> m128i
Available with target feature sse2 only.
Expand description

Sets the args into an m128i, first arg is the low lane.

let a = m128i::from([0_i8, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]);
let b = set_reversed_i8_m128i(0_i8, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
assert_eq!(<[i8; 16]>::from(a), <[i8; 16]>::from(b));