Warning: That file was not part of the compilation database. It may have many parsing errors.
1 | #ifndef __VAESINTRIN_H_INCLUDED |
---|---|
2 | #define __VAESINTRIN_H_INCLUDED |
3 | |
4 | #ifndef __VAES__ |
5 | #pragma GCC push_options |
6 | #pragma GCC target("vaes") |
7 | #define __DISABLE_VAES__ |
8 | #endif /* __VAES__ */ |
9 | |
10 | extern __inline __m256i |
11 | __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |
12 | _mm256_aesdec_epi128 (__m256i __A, __m256i __B) |
13 | { |
14 | return (__m256i)__builtin_ia32_vaesdec_v32qi ((__v32qi) __A, (__v32qi) __B); |
15 | } |
16 | |
17 | #ifdef __DISABLE_VAES__ |
18 | #undef __DISABLE_VAES__ |
19 | #pragma GCC pop_options |
20 | #endif /* __DISABLE_VAES__ */ |
21 | |
22 | |
23 | #if !defined(__VAES__) || !defined(__AVX512F) |
24 | #pragma GCC push_options |
25 | #pragma GCC target("vaes,avx512f") |
26 | #define __DISABLE_VAESF__ |
27 | #endif /* __VAES__ */ |
28 | |
29 | |
30 | extern __inline __m512i |
31 | __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |
32 | _mm512_aesdec_epi128 (__m512i __A, __m512i __B) |
33 | { |
34 | return (__m512i)__builtin_ia32_vaesdec_v64qi ((__v64qi) __A, (__v64qi) __B); |
35 | } |
36 | |
37 | #ifdef __DISABLE_VAESF__ |
38 | #undef __DISABLE_VAESF__ |
39 | #pragma GCC pop_options |
40 | #endif /* __DISABLE_VAES__ */ |
41 | |
42 | #if !defined(__VAES__) || !defined(__AVX512VL) |
43 | #pragma GCC push_options |
44 | #pragma GCC target("vaes,avx512vl") |
45 | #define __DISABLE_VAESVL__ |
46 | #endif /* __VAES__ */ |
47 | |
48 | extern __inline __m128i |
49 | __attribute__((__gnu_inline__, __always_inline__, __artificial__)) |
50 | _mm_aesdec_epi128 (__m128i __A, __m128i __B) |
51 | { |
52 | return (__m128i)__builtin_ia32_vaesdec_v16qi ((__v16qi) __A, (__v16qi) __B); |
53 | } |
54 | |
55 | #ifdef __DISABLE_VAESVL__ |
56 | #undef __DISABLE_VAESVL__ |
57 | #pragma GCC pop_options |
58 | #endif /* __DISABLE_VAES__ */ |
59 | #endif /* __VAESINTRIN_H_INCLUDED */ |
60 |
Warning: That file was not part of the compilation database. It may have many parsing errors.