Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr113133-1.c

raw
1 /* PR target/113133 */
2 /* { dg-do compile { target { ! ia32 } } } */
3 /* { dg-options "-O2 -mavx512f -mtune=barcelona" } */
4
5 void
6 foo1 (double *d, float f)
7 {
8 register float x __asm ("xmm16") = f;
9 asm volatile ("" : "+v" (x));
10
11 *d = x;
12 }
13
14 void
15 foo2 (float *f, double d)
16 {
17 register double x __asm ("xmm16") = d;
18 asm volatile ("" : "+v" (x));
19
20 *f = x;
21 }