summaryrefslogtreecommitdiffstats
path: root/third_party/rust/packed_simd/src/api/into_bits/v16.rs
blob: e44d0e7f9a184def56c6c2e1653bce7a9e7bf168 (plain)
1
2
3
4
5
6
7
8
9
//! `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