2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-mask-type.h
blobefece198e5124a143b00f1bafb7f2bd8e05d16dd
1 /* Type of mask. */
2 #if SIZE <= 8
3 #undef MASK_TYPE
4 #undef MASK_VALUE
5 #undef MASK_ALL_ONES
6 #define MASK_TYPE __mmask8
7 #define MASK_VALUE 0xB9
8 #define MASK_ALL_ONES 0xFF
9 #elif SIZE <= 16
10 #undef MASK_TYPE
11 #undef MASK_VALUE
12 #undef MASK_ALL_ONES
13 #define MASK_TYPE __mmask16
14 #define MASK_VALUE 0xA6BA
15 #define MASK_ALL_ONES 0xFFFF
16 #elif SIZE <= 32
17 #undef MASK_TYPE
18 #undef MASK_VALUE
19 #undef MASK_ALL_ONES
20 #define MASK_TYPE __mmask32
21 #define MASK_VALUE 0xA6BAAB6A
22 #define MASK_ALL_ONES 0xFFFFFFFFu
23 #elif SIZE <= 64
24 #undef MASK_TYPE
25 #undef MASK_VALUE
26 #undef MASK_ALL_ONES
27 #define MASK_TYPE __mmask64
28 #define MASK_VALUE 0xA6BAA6BAB6AB6ABB
29 #define MASK_ALL_ONES 0xFFFFFFFFFFFFFFFFull
30 #endif