Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr83682.c

raw
1 /* PR rtl-optimization/83682 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -msse2" } */
4
5 typedef float V __attribute__((__vector_size__(16)));
6 typedef double W __attribute__((__vector_size__(16)));
7 V b;
8 W c;
9
10 void
11 foo (void *p)
12 {
13 V e = __builtin_ia32_cvtsd2ss (b, c);
14 V g = e;
15 float f = g[0];
16 __builtin_memcpy (p, &f, sizeof (f));
17 }