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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
vectorize6.c
blob
d299a1551bf9801045eac32148bf12dd41514715
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -msse2 -ftree-vectorize -mveclibabi=svml -ffast-math -mtune=generic" } */
3
4
double
x
[
256
];
5
6
extern
double
sin
(
double
);
7
8
void
foo
(
void
)
9
{
10
int
i
;
11
12
for
(
i
=
0
;
i
<
256
; ++
i
)
13
x
[
i
] =
sin
(
x
[
i
]);
14
}
15
16
/* { dg-final { scan-assembler "vmldSin2" } } */