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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
types! {
    #![unstable(feature = "stdarch_loongarch", issue = "117427")]

    /// LOONGARCH-specific 128-bit wide vector of 16 packed `i8`.
    pub struct v16i8(16 x pub(crate) i8);

    /// LOONGARCH-specific 128-bit wide vector of 8 packed `i16`.
    pub struct v8i16(8 x pub(crate) i16);

    /// LOONGARCH-specific 128-bit wide vector of 4 packed `i32`.
    pub struct v4i32(4 x pub(crate) i32);

    /// LOONGARCH-specific 128-bit wide vector of 2 packed `i64`.
    pub struct v2i64(2 x pub(crate) i64);

    /// LOONGARCH-specific 128-bit wide vector of 16 packed `u8`.
    pub struct v16u8(16 x pub(crate) u8);

    /// LOONGARCH-specific 128-bit wide vector of 8 packed `u16`.
    pub struct v8u16(8 x pub(crate) u16);

    /// LOONGARCH-specific 128-bit wide vector of 4 packed `u32`.
    pub struct v4u32(4 x pub(crate) u32);

    /// LOONGARCH-specific 128-bit wide vector of 2 packed `u64`.
    pub struct v2u64(2 x pub(crate) u64);

    /// LOONGARCH-specific 128-bit wide vector of 4 packed `f32`.
    pub struct v4f32(4 x pub(crate) f32);

    /// LOONGARCH-specific 128-bit wide vector of 2 packed `f64`.
    pub struct v2f64(2 x pub(crate) f64);
}