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 target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx512f-kmovw-2.c
blob
95d203b090d2a9324241837769b01594be6c29ad
1
/* { dg-do compile } */
2
/* { dg-options "-mavx512f -O2" } */
3
/* { dg-final { scan-assembler-times "kmovw\[ \\t\]+\[^\{\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
4
5
#include <immintrin.h>
6
volatile
__mmask16 k1
;
7
8
void
9
avx512f_test
()
10
{
11
__mmask16 k
=
_cvtu32_mask16
(
11
);
12
13
asm
volatile
(
""
:
"+k"
(
k
));
14
k1
=
k
;
15
}