2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66473.c
blobf2433abf8ebe44eb3f920450260303ef7fdc1828
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx512f" } */
4 typedef double __m512d __attribute__ ((__vector_size__ (64)));
6 extern __m512d _ZGVeN8v_func (__m512d);
8 double
9 func_vlen8 (double x)
11 __m512d mx, mr;
13 mx[0] = mx[1] = mx[2] = mx[3] = mx[4] = mx[5] = mx[6] = mx[7] = x;
14 mr = _ZGVeN8v_func (mx);
16 return (double) mr[0];