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-kshiftrw-2.c
blob
5a1483af47afc33c8bce81259a6374252e7d810f
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
unsigned int
i
=
10
;
11
__mmask16 k1
=
1
<<
i
;
12
13
volatile
__mmask16 r
=
_kshiftri_mask16
(
k1
,
i
);
14
if
(
r
!=
1
)
15
abort
();
16
}