blob: e44d0e7f9a184def56c6c2e1653bce7a9e7bf168 [file] [log] [blame]
//! `FromBits` and `IntoBits` implementations for portable 16-bit wide vectors
#[rustfmt::skip]
#[allow(unused)] // wasm_bindgen_test
use crate::*;
impl_from_bits!(i8x2[test_v16]: u8x2, m8x2);
impl_from_bits!(u8x2[test_v16]: i8x2, m8x2);
// note: m8x2 cannot be constructed from all i8x2 or u8x2 bit patterns