Daily bump.
[official-gcc.git] / gcc / testsuite / c-c++-common / attr-simd-2.c
blobd76eba6a47174222ce4d1ec2dd1590362bf3ff26
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-optimized -fopenmp-simd" } */
4 #pragma omp declare simd
5 extern
6 #ifdef __cplusplus
7 "C"
8 #endif
9 __attribute__((__simd__))
10 int simd_attr (void)
12 return 0;
15 /* { dg-final { scan-tree-dump "omp declare simd" "optimized" } } */
16 /* { dg-final { scan-assembler-times "_ZGVbN4_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
17 /* { dg-final { scan-assembler-times "_ZGVbM4_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
18 /* { dg-final { scan-assembler-times "_ZGVcN4_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
19 /* { dg-final { scan-assembler-times "_ZGVcM4_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
20 /* { dg-final { scan-assembler-times "_ZGVdN8_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
21 /* { dg-final { scan-assembler-times "_ZGVdM8_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
22 /* { dg-final { scan-assembler-times "_ZGVeN16_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */
23 /* { dg-final { scan-assembler-times "_ZGVeM16_simd_attr:" 1 { target { i?86-*-* x86_64-*-* } } } } */