summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-half-float.c
blob: c656a2f6d560b1e529db3a7b07710a327374afcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-require-effective-target vect_complex_add_half } */
/* { dg-require-effective-target float16 } */
/* { dg-add-options arm_v8_3a_fp16_complex_neon } */

#define TYPE _Float16
#define N 200
#include "complex-add-template.c"

/* Vectorization is failing for these cases.  They should work but for now ignore.  */

/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT270" 1 "slp1" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT90" 1 "slp1" { xfail *-*-* } } } */