OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
vectorize6.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -msse2 -ftree-vectorize -mveclibabi=svml -ffast-math" } */
3
/* { dg-require-effective-target sse2 } */
4
5
double x[256];
6
7
extern double sin(double);
8
9
void foo(void)
10
{
11
int i;
12
13
for (i=0; i<256; ++i)
14
x[i] = sin(x[i]);
15
}
16
17
/* { dg-final { scan-assembler "vmldSin2" } } */