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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx512f-vpermi2pd-1.c
blob
9f787b4e144a98a4e0c950de84c1e4135e45797e
1
/* { dg-do compile } */
2
/* { dg-options "-mavx512f -O2" } */
3
/* { dg-final { scan-assembler-times "vpermi2pd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
4
5
#include <immintrin.h>
6
7
volatile
__m512d x
;
8
volatile
__m512i y
;
9
volatile
__mmask8 m
;
10
11
void
extern
12
avx512f_test
(
void
)
13
{
14
x
=
_mm512_mask2_permutex2var_pd
(
x
,
y
,
m
,
x
);
15
}