Debian Codegraph @

gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_complex_add_half } */
3 /* { dg-require-effective-target float16 } */
4 /* { dg-add-options arm_v8_3a_fp16_complex_neon } */
5 /* { dg-additional-options "-ffast-math -fno-tree-loop-vectorize" } */
6
7 #define UNROLL
8
9 #define TYPE _Float16
10 #define N 16
11 #include "complex-add-pattern-template.c"
12
13 /* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT90" 1 "slp1" { target { vect_complex_add_half } } } } */
14 /* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT270" 1 "slp1" { target { vect_complex_add_half } && ! target { arm*-*-* } } } } */
15 /* { dg-final { scan-tree-dump "Found COMPLEX_ADD_ROT270" "slp1" } } */
16 /* { dg-final { scan-tree-dump "Found COMPLEX_ADD_ROT90" "slp1" } } */