]> git.proxmox.com Git - rustc.git/blob - library/portable-simd/crates/core_simd/src/vector/uint.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / library / portable-simd / crates / core_simd / src / vector / uint.rs
1 #![allow(non_camel_case_types)]
2
3 use crate::simd::Simd;
4
5 /// A SIMD vector with two elements of type `usize`.
6 pub type usizex2 = Simd<usize, 2>;
7
8 /// A SIMD vector with four elements of type `usize`.
9 pub type usizex4 = Simd<usize, 4>;
10
11 /// A SIMD vector with eight elements of type `usize`.
12 pub type usizex8 = Simd<usize, 8>;
13
14 /// A 32-bit SIMD vector with two elements of type `u16`.
15 pub type u16x2 = Simd<u16, 2>;
16
17 /// A 64-bit SIMD vector with four elements of type `u16`.
18 pub type u16x4 = Simd<u16, 4>;
19
20 /// A 128-bit SIMD vector with eight elements of type `u16`.
21 pub type u16x8 = Simd<u16, 8>;
22
23 /// A 256-bit SIMD vector with 16 elements of type `u16`.
24 pub type u16x16 = Simd<u16, 16>;
25
26 /// A 512-bit SIMD vector with 32 elements of type `u16`.
27 pub type u16x32 = Simd<u16, 32>;
28
29 /// A 64-bit SIMD vector with two elements of type `u32`.
30 pub type u32x2 = Simd<u32, 2>;
31
32 /// A 128-bit SIMD vector with four elements of type `u32`.
33 pub type u32x4 = Simd<u32, 4>;
34
35 /// A 256-bit SIMD vector with eight elements of type `u32`.
36 pub type u32x8 = Simd<u32, 8>;
37
38 /// A 512-bit SIMD vector with 16 elements of type `u32`.
39 pub type u32x16 = Simd<u32, 16>;
40
41 /// A 128-bit SIMD vector with two elements of type `u64`.
42 pub type u64x2 = Simd<u64, 2>;
43
44 /// A 256-bit SIMD vector with four elements of type `u64`.
45 pub type u64x4 = Simd<u64, 4>;
46
47 /// A 512-bit SIMD vector with eight elements of type `u64`.
48 pub type u64x8 = Simd<u64, 8>;
49
50 /// A 32-bit SIMD vector with four elements of type `u8`.
51 pub type u8x4 = Simd<u8, 4>;
52
53 /// A 64-bit SIMD vector with eight elements of type `u8`.
54 pub type u8x8 = Simd<u8, 8>;
55
56 /// A 128-bit SIMD vector with 16 elements of type `u8`.
57 pub type u8x16 = Simd<u8, 16>;
58
59 /// A 256-bit SIMD vector with 32 elements of type `u8`.
60 pub type u8x32 = Simd<u8, 32>;
61
62 /// A 512-bit SIMD vector with 64 elements of type `u8`.
63 pub type u8x64 = Simd<u8, 64>;