]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | //! Vectors with pointer-sized elements |
2 | ||
3 | use crate::codegen::pointer_sized_int::{isize_, usize_}; | |
4 | use crate::*; | |
5 | ||
6 | impl_i!([isize; 2]: isizex2, msizex2 | isize_, u8 | test_v128 | | |
7 | x0, x1| | |
8 | From: | | |
9 | /// A vector with 2 `isize` lanes. | |
10 | ); | |
11 | ||
12 | impl_u!([usize; 2]: usizex2, msizex2 | usize_, u8 | test_v128 | | |
13 | x0, x1| | |
14 | From: | | |
15 | /// A vector with 2 `usize` lanes. | |
16 | ); | |
17 | impl_m!([msize; 2]: msizex2 | isize_, u8 | test_v128 | | |
18 | x0, x1 | | |
19 | From: | | |
20 | /// A vector mask with 2 `msize` lanes. | |
21 | ); | |
22 | ||
23 | impl_i!([isize; 4]: isizex4, msizex4 | isize_, u8 | test_v256 | | |
24 | x0, x1, x2, x3 | | |
25 | From: | | |
26 | /// A vector with 4 `isize` lanes. | |
27 | ); | |
28 | impl_u!([usize; 4]: usizex4, msizex4 | usize_, u8 | test_v256 | | |
29 | x0, x1, x2, x3| | |
30 | From: | | |
31 | /// A vector with 4 `usize` lanes. | |
32 | ); | |
33 | impl_m!([msize; 4]: msizex4 | isize_, u8 | test_v256 | | |
34 | x0, x1, x2, x3 | | |
35 | From: | | |
36 | /// A vector mask with 4 `msize` lanes. | |
37 | ); | |
38 | ||
39 | impl_i!([isize; 8]: isizex8, msizex8 | isize_, u8 | test_v512 | | |
40 | x0, x1, x2, x3, x4, x5, x6, x7 | | |
41 | From: | | |
42 | /// A vector with 4 `isize` lanes. | |
43 | ); | |
44 | impl_u!([usize; 8]: usizex8, msizex8 | usize_, u8 | test_v512 | | |
45 | x0, x1, x2, x3, x4, x5, x6, x7 | | |
46 | From: | | |
47 | /// A vector with 8 `usize` lanes. | |
48 | ); | |
49 | impl_m!([msize; 8]: msizex8 | isize_, u8 | test_v512 | | |
50 | x0, x1, x2, x3, x4, x5, x6, x7 | | |
51 | From: | | |
52 | /// A vector mask with 8 `msize` lanes. | |
53 | ); |