2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr18614-1.c
blob1a4997537604793dfb2a9ba357b0b60f138dbeb4
1 /* PR rtl-optimization/18614 */
2 /* { dg-do compile } */
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;