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
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr41019.c
blob
a6a2f4ee216fd48f19934a0f3cb2209bbc97cebe
1
/* { dg-do run } */
2
/* { dg-options "-O2 -msse2 -ftree-vectorize" } */
3
/* { dg-require-effective-target sse2 } */
4
5
#include
"sse2-check.h"
6
7
long long int
a
[
64
];
8
9
void
10
sse2_test
(
void
)
11
{
12
int
k
;
13
14
for
(
k
=
0
;
k
<
64
;
k
++)
15
a
[
k
] =
a
[
k
] !=
5
?
12
:
10
;
16
17
for
(
k
=
0
;
k
<
64
;
k
++)
18
if
(
a
[
k
] !=
12
)
19
abort
();
20
}