repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx512f-vpermi2d-1.c
blob
0436dfd709bea070c0846f56d1d996de65fc579e
1
/* { dg-do compile } */
2
/* { dg-options "-mavx512f -O2" } */
3
/* { dg-final { scan-assembler-times "vpermi2d\[ \\t\]+\[^\n\]*%zmm\[0-9\]\{%k\[1-7\]\}\[^\{\]" 1 } } */
4
5
#include <immintrin.h>
6
7
volatile
__m512i x
;
8
volatile
__mmask16 m
;
9
10
void
extern
11
avx512f_test
(
void
)
12
{
13
x
=
_mm512_mask2_permutex2var_epi32
(
x
,
x
,
m
,
x
);
14
}