annotate gcc/testsuite/gcc.target/i386/pr89229-4a.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
1 /* { dg-do compile { target { ! ia32 } } } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 /* { dg-options "-O2 -march=skylake-avx512" } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4 extern double d;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6 void
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 foo1 (double x)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
8 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
9 register double xmm16 __asm ("xmm16") = x;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
10 asm volatile ("" : "+v" (xmm16));
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
11 register double xmm17 __asm ("xmm17") = xmm16;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
12 asm volatile ("" : "+v" (xmm17));
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
13 d = xmm17;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
14 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
15
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
16 /* { dg-final { scan-assembler-not "vmovapd" } } */