OSDN Git Service

Index: gcc/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr18614-1.c
1 /* PR rtl-optimization/18614 */
2 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
3 /* { dg-options "-O2 -msse2" } */
4
5 typedef double v2df __attribute__ ((vector_size (16)));
6
7 v2df foo (void)
8 {
9   v2df yd = { 1.0, 4.0 };
10   v2df xd;
11
12   xd = __builtin_ia32_cvtps2pd (__builtin_ia32_rsqrtps
13                                 (__builtin_ia32_cvtpd2ps (yd)));
14   return xd;
15 }