core/stdarch/crates/core_arch/src/loongarch64/lasx/
types.rs

1types! {
2    #![unstable(feature = "stdarch_loongarch", issue = "117427")]
3
4    /// LOONGARCH-specific 256-bit wide vector of 32 packed `i8`.
5    pub struct v32i8(32 x pub(crate) i8);
6
7    /// LOONGARCH-specific 256-bit wide vector of 16 packed `i16`.
8    pub struct v16i16(16 x pub(crate) i16);
9
10    /// LOONGARCH-specific 256-bit wide vector of 8 packed `i32`.
11    pub struct v8i32(8 x pub(crate) i32);
12
13    /// LOONGARCH-specific 256-bit wide vector of 4 packed `i64`.
14    pub struct v4i64(4 x pub(crate) i64);
15
16    /// LOONGARCH-specific 256-bit wide vector of 32 packed `u8`.
17    pub struct v32u8(32 x pub(crate) u8);
18
19    /// LOONGARCH-specific 256-bit wide vector of 16 packed `u16`.
20    pub struct v16u16(16 x pub(crate) u16);
21
22    /// LOONGARCH-specific 256-bit wide vector of 8 packed `u32`.
23    pub struct v8u32(8 x pub(crate) u32);
24
25    /// LOONGARCH-specific 256-bit wide vector of 4 packed `u64`.
26    pub struct v4u64(4 x pub(crate) u64);
27
28    /// LOONGARCH-specific 128-bit wide vector of 8 packed `f32`.
29    pub struct v8f32(8 x pub(crate) f32);
30
31    /// LOONGARCH-specific 256-bit wide vector of 4 packed `f64`.
32    pub struct v4f64(4 x pub(crate) f64);
33}