core/stdarch/crates/core_arch/src/loongarch64/lsx/types.rs
1types! {
2 #![unstable(feature = "stdarch_loongarch", issue = "117427")]
3
4 /// LOONGARCH-specific 128-bit wide vector of 16 packed `i8`.
5 pub struct v16i8(16 x pub(crate) i8);
6
7 /// LOONGARCH-specific 128-bit wide vector of 8 packed `i16`.
8 pub struct v8i16(8 x pub(crate) i16);
9
10 /// LOONGARCH-specific 128-bit wide vector of 4 packed `i32`.
11 pub struct v4i32(4 x pub(crate) i32);
12
13 /// LOONGARCH-specific 128-bit wide vector of 2 packed `i64`.
14 pub struct v2i64(2 x pub(crate) i64);
15
16 /// LOONGARCH-specific 128-bit wide vector of 16 packed `u8`.
17 pub struct v16u8(16 x pub(crate) u8);
18
19 /// LOONGARCH-specific 128-bit wide vector of 8 packed `u16`.
20 pub struct v8u16(8 x pub(crate) u16);
21
22 /// LOONGARCH-specific 128-bit wide vector of 4 packed `u32`.
23 pub struct v4u32(4 x pub(crate) u32);
24
25 /// LOONGARCH-specific 128-bit wide vector of 2 packed `u64`.
26 pub struct v2u64(2 x pub(crate) u64);
27
28 /// LOONGARCH-specific 128-bit wide vector of 4 packed `f32`.
29 pub struct v4f32(4 x pub(crate) f32);
30
31 /// LOONGARCH-specific 128-bit wide vector of 2 packed `f64`.
32 pub struct v2f64(2 x pub(crate) f64);
33}