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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr80846-1.c
blob
295bb7d0d5a3a13c6f788112fd58c04d0cd7ad09
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -mavx512f" } */
3
4
int
sumint
(
const int
arr
[]) {
5
arr
=
__builtin_assume_aligned
(
arr
,
64
);
6
int
sum
=
0
;
7
for
(
int
i
=
0
;
i
<
1024
;
i
++)
8
sum
+=
arr
[
i
];
9
return
sum
;
10
}
11
12
/* { dg-final { scan-assembler-times "vextracti" 2 } } */