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-kshiftlw-2.c
blob
89d45fc9ec22856589c9436fae21d4c134c66ebc
1
/* { dg-do run } */
2
/* { dg-options "-O2 -mavx512f" } */
3
/* { dg-require-effective-target avx512f } */
4
5
#include
"avx512f-check.h"
6
7
void
8
avx512f_test
()
9
{
10
__mmask16 k1
=
1
;
11
unsigned int
i
=
10
;
12
13
volatile
__mmask16 r
=
_kshiftli_mask16
(
k1
,
i
);
14
if
(
r
!=
1
<<
i
)
15
abort
();
16
}