OSDN Git Service

2006-03-30 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / sselibm-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -msse2 -mfpmath=sse -msselibm" } */
3 /* { dg-require-effective-target ilp32 } */
4
5 float sinf(float);
6 float (*mysin)(float) = sinf;
7
8 float f1(float x)
9 {
10   return sinf(x);
11 }
12
13 float f2(float x)
14 {
15   /* Verify we do not expand the following call to __libm_sse2_sinf.  */
16   return (*mysin)(x);
17 }
18
19 /* { dg-final { scan-assembler-times "__libm_sse2_sinf" 1 } } */