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
* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx512f-vpermi2pd-1.c
blob
e2b74cc9910e23f67fd4cb2be9456fca90d2addd
1
/* { dg-do compile } */
2
/* { dg-options "-mavx512f -O2" } */
3
/* { dg-final { scan-assembler-times "vpermi2pd\[ \\t\]+\[^\n\]*%zmm\[0-9\]\{%k\[1-7\]\}\[^\{\]" 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
}