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
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx512bw-kmovq-2.c
blob
1a5f94c388eaa5f77d6d18b07bf189040c8d8258
1
/* { dg-do compile } */
2
/* { dg-options "-mavx512bw -O2" } */
3
/* { dg-final { scan-assembler-times "kmovq\[ \\t\]+\[^\{\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
4
5
#include <immintrin.h>
6
volatile
__mmask64 k1
;
7
8
void
9
avx512bw_test
()
10
{
11
__mmask64 k0
=
11
;
12
__mmask64 k
=
_load_mask64
(&
k0
);
13
14
asm
volatile
(
""
:
"+k"
(
k
));
15
k1
=
k
;
16
}