2007-05-23 H.J. Lu <hongjiu.lu@intel.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr18614-1.c
blobdb1870cb7330ad25d7a05548d98df94fde2cfe7c
1 /* PR rtl-optimization/18614 */
2 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
3 /* { dg-options "-O2 -msse2" } */
5 typedef double v2df __attribute__ ((vector_size (16)));
7 v2df foo (void)
9 v2df yd = { 1.0, 4.0 };
10 v2df xd;
12 xd = __builtin_ia32_cvtps2pd (__builtin_ia32_rsqrtps
13 (__builtin_ia32_cvtpd2ps (yd)));
14 return xd;