Warning: That file was not part of the compilation database. It may have many parsing errors.

1/* Copyright (C) 2013-2017 Free Software Foundation, Inc.
2
3 This file is part of GCC.
4
5 GCC is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option)
8 any later version.
9
10 GCC is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 Under Section 7 of GPL version 3, you are granted additional
16 permissions described in the GCC Runtime Library Exception, version
17 3.1, as published by the Free Software Foundation.
18
19 You should have received a copy of the GNU General Public License and
20 a copy of the GCC Runtime Library Exception along with this program;
21 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
22 <http://www.gnu.org/licenses/>. */
23
24#ifndef _IMMINTRIN_H_INCLUDED
25#error "Never use <avx512vbmi2intrin.h> directly; include <immintrin.h> instead."
26#endif
27
28#ifndef __AVX512VBMI2INTRIN_H_INCLUDED
29#define __AVX512VBMI2INTRIN_H_INCLUDED
30
31#if !defined(__AVX512VBMI2__) || !defined(__AVX512BW__)
32#pragma GCC push_options
33#pragma GCC target("avx512vbmi2,avx512bw")
34#define __DISABLE_AVX512VBMI2BW__
35#endif /* __AVX512VBMI2BW__ */
36
37extern __inline __m512i
38__attribute__((__gnu_inline__, __always_inline__, __artificial__))
39_mm512_mask_compress_epi8 (__m512i __A, __mmask64 __B, __m512i __C)
40{
41 return (__m512i) __builtin_ia32_compressqi512_mask ((__v64qi)__C,
42 (__v64qi)__A, (__mmask64)__B);
43}
44
45
46extern __inline __m512i
47__attribute__((__gnu_inline__, __always_inline__, __artificial__))
48_mm512_maskz_compress_epi8 (__mmask64 __A, __m512i __B)
49{
50 return (__m512i) __builtin_ia32_compressqi512_mask ((__v64qi)__B,
51 (__v64qi)_mm512_setzero_si512 (), (__mmask64)__A);
52}
53
54
55extern __inline void
56__attribute__((__gnu_inline__, __always_inline__, __artificial__))
57_mm512_mask_compressstoreu_epi8 (void * __A, __mmask64 __B, __m512i __C)
58{
59 __builtin_ia32_compressstoreuqi512_mask ((__v64qi *) __A, (__v64qi) __C,
60 (__mmask64) __B);
61}
62
63extern __inline __m512i
64__attribute__((__gnu_inline__, __always_inline__, __artificial__))
65_mm512_mask_compress_epi16 (__m512i __A, __mmask32 __B, __m512i __C)
66{
67 return (__m512i) __builtin_ia32_compresshi512_mask ((__v32hi)__C,
68 (__v32hi)__A, (__mmask32)__B);
69}
70
71extern __inline __m512i
72__attribute__((__gnu_inline__, __always_inline__, __artificial__))
73_mm512_maskz_compress_epi16 (__mmask32 __A, __m512i __B)
74{
75 return (__m512i) __builtin_ia32_compresshi512_mask ((__v32hi)__B,
76 (__v32hi)_mm512_setzero_si512 (), (__mmask32)__A);
77}
78
79extern __inline void
80__attribute__((__gnu_inline__, __always_inline__, __artificial__))
81_mm512_mask_compressstoreu_epi16 (void * __A, __mmask32 __B, __m512i __C)
82{
83 __builtin_ia32_compressstoreuhi512_mask ((__v32hi *) __A, (__v32hi) __C,
84 (__mmask32) __B);
85}
86
87extern __inline __m512i
88__attribute__((__gnu_inline__, __always_inline__, __artificial__))
89_mm512_mask_expand_epi8 (__m512i __A, __mmask64 __B, __m512i __C)
90{
91 return (__m512i) __builtin_ia32_expandqi512_mask ((__v64qi) __C,
92 (__v64qi) __A,
93 (__mmask64) __B);
94}
95
96extern __inline __m512i
97__attribute__((__gnu_inline__, __always_inline__, __artificial__))
98_mm512_maskz_expand_epi8 (__mmask64 __A, __m512i __B)
99{
100 return (__m512i) __builtin_ia32_expandqi512_maskz ((__v64qi) __B,
101 (__v64qi) _mm512_setzero_si512 (), (__mmask64) __A);
102}
103
104extern __inline __m512i
105__attribute__((__gnu_inline__, __always_inline__, __artificial__))
106_mm512_mask_expandloadu_epi8 (__m512i __A, __mmask64 __B, const void * __C)
107{
108 return (__m512i) __builtin_ia32_expandloadqi512_mask ((const __v64qi *) __C,
109 (__v64qi) __A, (__mmask64) __B);
110}
111
112extern __inline __m512i
113__attribute__((__gnu_inline__, __always_inline__, __artificial__))
114_mm512_maskz_expandloadu_epi8 (__mmask64 __A, const void * __B)
115{
116 return (__m512i) __builtin_ia32_expandloadqi512_maskz ((const __v64qi *) __B,
117 (__v64qi) _mm512_setzero_si512 (), (__mmask64) __A);
118}
119
120extern __inline __m512i
121__attribute__((__gnu_inline__, __always_inline__, __artificial__))
122_mm512_mask_expand_epi16 (__m512i __A, __mmask32 __B, __m512i __C)
123{
124 return (__m512i) __builtin_ia32_expandhi512_mask ((__v32hi) __C,
125 (__v32hi) __A,
126 (__mmask32) __B);
127}
128
129extern __inline __m512i
130__attribute__((__gnu_inline__, __always_inline__, __artificial__))
131_mm512_maskz_expand_epi16 (__mmask32 __A, __m512i __B)
132{
133 return (__m512i) __builtin_ia32_expandhi512_maskz ((__v32hi) __B,
134 (__v32hi) _mm512_setzero_si512 (), (__mmask32) __A);
135}
136
137extern __inline __m512i
138__attribute__((__gnu_inline__, __always_inline__, __artificial__))
139_mm512_mask_expandloadu_epi16 (__m512i __A, __mmask32 __B, const void * __C)
140{
141 return (__m512i) __builtin_ia32_expandloadhi512_mask ((const __v32hi *) __C,
142 (__v32hi) __A, (__mmask32) __B);
143}
144
145extern __inline __m512i
146__attribute__((__gnu_inline__, __always_inline__, __artificial__))
147_mm512_maskz_expandloadu_epi16 (__mmask32 __A, const void * __B)
148{
149 return (__m512i) __builtin_ia32_expandloadhi512_maskz ((const __v32hi *) __B,
150 (__v32hi) _mm512_setzero_si512 (), (__mmask32) __A);
151}
152
153#ifdef __OPTIMIZE__
154extern __inline __m512i
155__attribute__((__gnu_inline__, __always_inline__, __artificial__))
156_mm512_shrdi_epi16 (__m512i __A, __m512i __B, int __C)
157{
158 return (__m512i) __builtin_ia32_vpshrd_v32hi ((__v32hi)__A, (__v32hi) __B,
159 __C);
160}
161
162extern __inline __m512i
163__attribute__((__gnu_inline__, __always_inline__, __artificial__))
164_mm512_mask_shrdi_epi16 (__m512i __A, __mmask32 __B, __m512i __C, __m512i __D,
165 int __E)
166{
167 return (__m512i)__builtin_ia32_vpshrd_v32hi_mask ((__v32hi)__C,
168 (__v32hi) __D, __E, (__v32hi) __A, (__mmask32)__B);
169}
170
171extern __inline __m512i
172__attribute__((__gnu_inline__, __always_inline__, __artificial__))
173_mm512_maskz_shrdi_epi16 (__mmask32 __A, __m512i __B, __m512i __C, int __D)
174{
175 return (__m512i)__builtin_ia32_vpshrd_v32hi_mask ((__v32hi)__B,
176 (__v32hi) __C, __D, (__v32hi) _mm512_setzero_si512 (), (__mmask32)__A);
177}
178
179extern __inline __m512i
180__attribute__((__gnu_inline__, __always_inline__, __artificial__))
181_mm512_shrdi_epi32 (__m512i __A, __m512i __B, int __C)
182{
183 return (__m512i) __builtin_ia32_vpshrd_v16si ((__v16si)__A, (__v16si) __B,
184 __C);
185}
186
187extern __inline __m512i
188__attribute__((__gnu_inline__, __always_inline__, __artificial__))
189_mm512_mask_shrdi_epi32 (__m512i __A, __mmask16 __B, __m512i __C, __m512i __D,
190 int __E)
191{
192 return (__m512i)__builtin_ia32_vpshrd_v16si_mask ((__v16si)__C,
193 (__v16si) __D, __E, (__v16si) __A, (__mmask16)__B);
194}
195
196extern __inline __m512i
197__attribute__((__gnu_inline__, __always_inline__, __artificial__))
198_mm512_maskz_shrdi_epi32 (__mmask16 __A, __m512i __B, __m512i __C, int __D)
199{
200 return (__m512i)__builtin_ia32_vpshrd_v16si_mask ((__v16si)__B,
201 (__v16si) __C, __D, (__v16si) _mm512_setzero_si512 (), (__mmask16)__A);
202}
203
204extern __inline __m512i
205__attribute__((__gnu_inline__, __always_inline__, __artificial__))
206_mm512_shrdi_epi64 (__m512i __A, __m512i __B, int __C)
207{
208 return (__m512i) __builtin_ia32_vpshrd_v8di ((__v8di)__A, (__v8di) __B, __C);
209}
210
211extern __inline __m512i
212__attribute__((__gnu_inline__, __always_inline__, __artificial__))
213_mm512_mask_shrdi_epi64 (__m512i __A, __mmask8 __B, __m512i __C, __m512i __D,
214 int __E)
215{
216 return (__m512i)__builtin_ia32_vpshrd_v8di_mask ((__v8di)__C, (__v8di) __D,
217 __E, (__v8di) __A, (__mmask8)__B);
218}
219
220extern __inline __m512i
221__attribute__((__gnu_inline__, __always_inline__, __artificial__))
222_mm512_maskz_shrdi_epi64 (__mmask8 __A, __m512i __B, __m512i __C, int __D)
223{
224 return (__m512i)__builtin_ia32_vpshrd_v8di_mask ((__v8di)__B, (__v8di) __C,
225 __D, (__v8di) _mm512_setzero_si512 (), (__mmask8)__A);
226}
227
228extern __inline __m512i
229__attribute__((__gnu_inline__, __always_inline__, __artificial__))
230_mm512_shldi_epi16 (__m512i __A, __m512i __B, int __C)
231{
232 return (__m512i) __builtin_ia32_vpshld_v32hi ((__v32hi)__A, (__v32hi) __B,
233 __C);
234}
235
236extern __inline __m512i
237__attribute__((__gnu_inline__, __always_inline__, __artificial__))
238_mm512_mask_shldi_epi16 (__m512i __A, __mmask32 __B, __m512i __C, __m512i __D,
239 int __E)
240{
241 return (__m512i)__builtin_ia32_vpshld_v32hi_mask ((__v32hi)__C,
242 (__v32hi) __D, __E, (__v32hi) __A, (__mmask32)__B);
243}
244
245extern __inline __m512i
246__attribute__((__gnu_inline__, __always_inline__, __artificial__))
247_mm512_maskz_shldi_epi16 (__mmask32 __A, __m512i __B, __m512i __C, int __D)
248{
249 return (__m512i)__builtin_ia32_vpshld_v32hi_mask ((__v32hi)__B,
250 (__v32hi) __C, __D, (__v32hi) _mm512_setzero_si512 (), (__mmask32)__A);
251}
252
253extern __inline __m512i
254__attribute__((__gnu_inline__, __always_inline__, __artificial__))
255_mm512_shldi_epi32 (__m512i __A, __m512i __B, int __C)
256{
257 return (__m512i) __builtin_ia32_vpshld_v16si ((__v16si)__A, (__v16si) __B,
258 __C);
259}
260
261extern __inline __m512i
262__attribute__((__gnu_inline__, __always_inline__, __artificial__))
263_mm512_mask_shldi_epi32 (__m512i __A, __mmask16 __B, __m512i __C, __m512i __D,
264 int __E)
265{
266 return (__m512i)__builtin_ia32_vpshld_v16si_mask ((__v16si)__C,
267 (__v16si) __D, __E, (__v16si) __A, (__mmask16)__B);
268}
269
270extern __inline __m512i
271__attribute__((__gnu_inline__, __always_inline__, __artificial__))
272_mm512_maskz_shldi_epi32 (__mmask16 __A, __m512i __B, __m512i __C, int __D)
273{
274 return (__m512i)__builtin_ia32_vpshld_v16si_mask ((__v16si)__B,
275 (__v16si) __C, __D, (__v16si) _mm512_setzero_si512 (), (__mmask16)__A);
276}
277
278extern __inline __m512i
279__attribute__((__gnu_inline__, __always_inline__, __artificial__))
280_mm512_shldi_epi64 (__m512i __A, __m512i __B, int __C)
281{
282 return (__m512i) __builtin_ia32_vpshld_v8di ((__v8di)__A, (__v8di) __B, __C);
283}
284
285extern __inline __m512i
286__attribute__((__gnu_inline__, __always_inline__, __artificial__))
287_mm512_mask_shldi_epi64 (__m512i __A, __mmask8 __B, __m512i __C, __m512i __D,
288 int __E)
289{
290 return (__m512i)__builtin_ia32_vpshld_v8di_mask ((__v8di)__C, (__v8di) __D,
291 __E, (__v8di) __A, (__mmask8)__B);
292}
293
294extern __inline __m512i
295__attribute__((__gnu_inline__, __always_inline__, __artificial__))
296_mm512_maskz_shldi_epi64 (__mmask8 __A, __m512i __B, __m512i __C, int __D)
297{
298 return (__m512i)__builtin_ia32_vpshld_v8di_mask ((__v8di)__B, (__v8di) __C,
299 __D, (__v8di) _mm512_setzero_si512 (), (__mmask8)__A);
300}
301#else
302#define _mm512_shrdi_epi16(A, B, C) \
303 ((__m512i) __builtin_ia32_vpshrd_v32hi ((__v32hi)(__m512i)(A), \
304 (__v32hi)(__m512i)(B),(int)(C))
305#define _mm512_mask_shrdi_epi16(A, B, C, D, E) \
306 ((__m512i) __builtin_ia32_vpshrd_v32hi_mask ((__v32hi)(__m512i)(C), \
307 (__v32hi)(__m512i)(D), (int)(E), (__v32hi)(__m512i)(A),(__mmask32)(B))
308#define _mm512_maskz_shrdi_epi16(A, B, C, D) \
309 ((__m512i) __builtin_ia32_vpshrd_v32hi_mask ((__v32hi)(__m512i)(B), \
310 (__v32hi)(__m512i)(C),(int)(D), \
311 (__v32hi)(__m512i)_mm512_setzero_si512 (), (__mmask32)(A))
312#define _mm512_shrdi_epi32(A, B, C) \
313 ((__m512i) __builtin_ia32_vpshrd_v16si ((__v16si)(__m512i)(A), \
314 (__v16si)(__m512i)(B),(int)(C))
315#define _mm512_mask_shrdi_epi32(A, B, C, D, E) \
316 ((__m512i) __builtin_ia32_vpshrd_v16si_mask ((__v16si)(__m512i)(C), \
317 (__v16si)(__m512i)(D), (int)(E), (__v16si)(__m512i)(A),(__mmask16)(B))
318#define _mm512_maskz_shrdi_epi32(A, B, C, D) \
319 ((__m512i) __builtin_ia32_vpshrd_v16si_mask ((__v16si)(__m512i)(B), \
320 (__v16si)(__m512i)(C),(int)(D), \
321 (__v16si)(__m512i)_mm512_setzero_si512 (), (__mmask16)(A))
322#define _mm512_shrdi_epi64(A, B, C) \
323 ((__m512i) __builtin_ia32_vpshrd_v8di ((__v8di)(__m512i)(A), \
324 (__v8di)(__m512i)(B),(int)(C))
325#define _mm512_mask_shrdi_epi64(A, B, C, D, E) \
326 ((__m512i) __builtin_ia32_vpshrd_v8di_mask ((__v8di)(__m512i)(C), \
327 (__v8di)(__m512i)(D), (int)(E), (__v8di)(__m512i)(A),(__mmask8)(B))
328#define _mm512_maskz_shrdi_epi64(A, B, C, D) \
329 ((__m512i) __builtin_ia32_vpshrd_v8di_mask ((__v8di)(__m512i)(B), \
330 (__v8di)(__m512i)(C),(int)(D), \
331 (__v8di)(__m512i)_mm512_setzero_si512 (), (__mmask8)(A))
332#define _mm512_shldi_epi16(A, B, C) \
333 ((__m512i) __builtin_ia32_vpshld_v32hi ((__v32hi)(__m512i)(A), \
334 (__v32hi)(__m512i)(B),(int)(C))
335#define _mm512_mask_shldi_epi16(A, B, C, D, E) \
336 ((__m512i) __builtin_ia32_vpshld_v32hi_mask ((__v32hi)(__m512i)(C), \
337 (__v32hi)(__m512i)(D), (int)(E), (__v32hi)(__m512i)(A),(__mmask32)(B))
338#define _mm512_maskz_shldi_epi16(A, B, C, D) \
339 ((__m512i) __builtin_ia32_vpshld_v32hi_mask ((__v32hi)(__m512i)(B), \
340 (__v32hi)(__m512i)(C),(int)(D), \
341 (__v32hi)(__m512i)_mm512_setzero_si512 (), (__mmask32)(A))
342#define _mm512_shldi_epi32(A, B, C) \
343 ((__m512i) __builtin_ia32_vpshld_v16si ((__v16si)(__m512i)(A), \
344 (__v16si)(__m512i)(B),(int)(C))
345#define _mm512_mask_shldi_epi32(A, B, C, D, E) \
346 ((__m512i) __builtin_ia32_vpshld_v16si_mask ((__v16si)(__m512i)(C), \
347 (__v16si)(__m512i)(D), (int)(E), (__v16si)(__m512i)(A),(__mmask16)(B))
348#define _mm512_maskz_shldi_epi32(A, B, C, D) \
349 ((__m512i) __builtin_ia32_vpshld_v16si_mask ((__v16si)(__m512i)(B), \
350 (__v16si)(__m512i)(C),(int)(D), \
351 (__v16si)(__m512i)_mm512_setzero_si512 (), (__mmask16)(A))
352#define _mm512_shldi_epi64(A, B, C) \
353 ((__m512i) __builtin_ia32_vpshld_v8di ((__v8di)(__m512i)(A), \
354 (__v8di)(__m512i)(B),(int)(C))
355#define _mm512_mask_shldi_epi64(A, B, C, D, E) \
356 ((__m512i) __builtin_ia32_vpshld_v8di_mask ((__v8di)(__m512i)(C), \
357 (__v8di)(__m512i)(D), (int)(E), (__v8di)(__m512i)(A),(__mmask8)(B))
358#define _mm512_maskz_shldi_epi64(A, B, C, D) \
359 ((__m512i) __builtin_ia32_vpshld_v8di_mask ((__v8di)(__m512i)(B), \
360 (__v8di)(__m512i)(C),(int)(D), \
361 (__v8di)(__m512i)_mm512_setzero_si512 (), (__mmask8)(A))
362#endif
363
364extern __inline __m512i
365__attribute__((__gnu_inline__, __always_inline__, __artificial__))
366_mm512_shrdv_epi16 (__m512i __A, __m512i __B, __m512i __C)
367{
368 return (__m512i) __builtin_ia32_vpshrdv_v32hi ((__v32hi)__A, (__v32hi) __B,
369 (__v32hi) __C);
370}
371
372extern __inline __m512i
373__attribute__((__gnu_inline__, __always_inline__, __artificial__))
374_mm512_mask_shrdv_epi16 (__m512i __A, __mmask32 __B, __m512i __C, __m512i __D)
375{
376 return (__m512i)__builtin_ia32_vpshrdv_v32hi_mask ((__v32hi)__A,
377 (__v32hi) __C, (__v32hi) __D, (__mmask32)__B);
378}
379
380extern __inline __m512i
381__attribute__((__gnu_inline__, __always_inline__, __artificial__))
382_mm512_maskz_shrdv_epi16 (__mmask32 __A, __m512i __B, __m512i __C, __m512i __D)
383{
384 return (__m512i)__builtin_ia32_vpshrdv_v32hi_maskz ((__v32hi)__B,
385 (__v32hi) __C, (__v32hi) __D, (__mmask32)__A);
386}
387
388extern __inline __m512i
389__attribute__((__gnu_inline__, __always_inline__, __artificial__))
390_mm512_shrdv_epi32 (__m512i __A, __m512i __B, __m512i __C)
391{
392 return (__m512i) __builtin_ia32_vpshrdv_v16si ((__v16si)__A, (__v16si) __B,
393 (__v16si) __C);
394}
395
396extern __inline __m512i
397__attribute__((__gnu_inline__, __always_inline__, __artificial__))
398_mm512_mask_shrdv_epi32 (__m512i __A, __mmask16 __B, __m512i __C, __m512i __D)
399{
400 return (__m512i)__builtin_ia32_vpshrdv_v16si_mask ((__v16si)__A,
401 (__v16si) __C, (__v16si) __D, (__mmask16)__B);
402}
403
404extern __inline __m512i
405__attribute__((__gnu_inline__, __always_inline__, __artificial__))
406_mm512_maskz_shrdv_epi32 (__mmask16 __A, __m512i __B, __m512i __C, __m512i __D)
407{
408 return (__m512i)__builtin_ia32_vpshrdv_v16si_maskz ((__v16si)__B,
409 (__v16si) __C, (__v16si) __D, (__mmask16)__A);
410}
411
412extern __inline __m512i
413__attribute__((__gnu_inline__, __always_inline__, __artificial__))
414_mm512_shrdv_epi64 (__m512i __A, __m512i __B, __m512i __C)
415{
416 return (__m512i) __builtin_ia32_vpshrdv_v8di ((__v8di)__A, (__v8di) __B,
417 (__v8di) __C);
418}
419
420extern __inline __m512i
421__attribute__((__gnu_inline__, __always_inline__, __artificial__))
422_mm512_mask_shrdv_epi64 (__m512i __A, __mmask8 __B, __m512i __C, __m512i __D)
423{
424 return (__m512i)__builtin_ia32_vpshrdv_v8di_mask ((__v8di)__A, (__v8di) __C,
425 (__v8di) __D, (__mmask8)__B);
426}
427
428extern __inline __m512i
429__attribute__((__gnu_inline__, __always_inline__, __artificial__))
430_mm512_maskz_shrdv_epi64 (__mmask8 __A, __m512i __B, __m512i __C, __m512i __D)
431{
432 return (__m512i)__builtin_ia32_vpshrdv_v8di_maskz ((__v8di)__B, (__v8di) __C,
433 (__v8di) __D, (__mmask8)__A);
434}
435extern __inline __m512i
436__attribute__((__gnu_inline__, __always_inline__, __artificial__))
437_mm512_shldv_epi16 (__m512i __A, __m512i __B, __m512i __C)
438{
439 return (__m512i) __builtin_ia32_vpshldv_v32hi ((__v32hi)__A, (__v32hi) __B,
440 (__v32hi) __C);
441}
442
443extern __inline __m512i
444__attribute__((__gnu_inline__, __always_inline__, __artificial__))
445_mm512_mask_shldv_epi16 (__m512i __A, __mmask32 __B, __m512i __C, __m512i __D)
446{
447 return (__m512i)__builtin_ia32_vpshldv_v32hi_mask ((__v32hi)__A,
448 (__v32hi) __C, (__v32hi) __D, (__mmask32)__B);
449}
450
451extern __inline __m512i
452__attribute__((__gnu_inline__, __always_inline__, __artificial__))
453_mm512_maskz_shldv_epi16 (__mmask32 __A, __m512i __B, __m512i __C, __m512i __D)
454{
455 return (__m512i)__builtin_ia32_vpshldv_v32hi_maskz ((__v32hi)__B,
456 (__v32hi) __C, (__v32hi) __D, (__mmask32)__A);
457}
458
459extern __inline __m512i
460__attribute__((__gnu_inline__, __always_inline__, __artificial__))
461_mm512_shldv_epi32 (__m512i __A, __m512i __B, __m512i __C)
462{
463 return (__m512i) __builtin_ia32_vpshldv_v16si ((__v16si)__A, (__v16si) __B,
464 (__v16si) __C);
465}
466
467extern __inline __m512i
468__attribute__((__gnu_inline__, __always_inline__, __artificial__))
469_mm512_mask_shldv_epi32 (__m512i __A, __mmask16 __B, __m512i __C, __m512i __D)
470{
471 return (__m512i)__builtin_ia32_vpshldv_v16si_mask ((__v16si)__A,
472 (__v16si) __C, (__v16si) __D, (__mmask16)__B);
473}
474
475extern __inline __m512i
476__attribute__((__gnu_inline__, __always_inline__, __artificial__))
477_mm512_maskz_shldv_epi32 (__mmask16 __A, __m512i __B, __m512i __C, __m512i __D)
478{
479 return (__m512i)__builtin_ia32_vpshldv_v16si_maskz ((__v16si)__B,
480 (__v16si) __C, (__v16si) __D, (__mmask16)__A);
481}
482
483extern __inline __m512i
484__attribute__((__gnu_inline__, __always_inline__, __artificial__))
485_mm512_shldv_epi64 (__m512i __A, __m512i __B, __m512i __C)
486{
487 return (__m512i) __builtin_ia32_vpshldv_v8di ((__v8di)__A, (__v8di) __B,
488 (__v8di) __C);
489}
490
491extern __inline __m512i
492__attribute__((__gnu_inline__, __always_inline__, __artificial__))
493_mm512_mask_shldv_epi64 (__m512i __A, __mmask8 __B, __m512i __C, __m512i __D)
494{
495 return (__m512i)__builtin_ia32_vpshldv_v8di_mask ((__v8di)__A, (__v8di) __C,
496 (__v8di) __D, (__mmask8)__B);
497}
498
499extern __inline __m512i
500__attribute__((__gnu_inline__, __always_inline__, __artificial__))
501_mm512_maskz_shldv_epi64 (__mmask8 __A, __m512i __B, __m512i __C, __m512i __D)
502{
503 return (__m512i)__builtin_ia32_vpshldv_v8di_maskz ((__v8di)__B, (__v8di) __C,
504 (__v8di) __D, (__mmask8)__A);
505}
506
507#ifdef __DISABLE_AVX512VBMI2BW__
508#undef __DISABLE_AVX512VBMI2BW__
509
510#pragma GCC pop_options
511#endif /* __DISABLE_AVX512VBMI2BW__ */
512
513#endif /* __AVX512VBMI2INTRIN_H_INCLUDED */
514

Warning: That file was not part of the compilation database. It may have many parsing errors.