| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-require-effective-target vect_complex_add_half } */ |
| 3 |
/* { dg-require-effective-target float16 } */ |
| 4 |
/* { dg-additional-options "-ffast-math -fno-tree-loop-vectorize" } */ |
| 5 |
/* { dg-add-options arm_v8_3a_fp16_complex_neon } */ |
| 6 |
|
| 7 |
#define TYPE _Float16 |
| 8 |
#define N 16 |
| 9 |
#include "complex-add-template.c" |
| 10 |
|
| 11 |
/* Vectorization is failing for these cases. They should work but for now ignore. */ |
| 12 |
|
| 13 |
/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT270" 1 "slp1" { xfail *-*-* } } } */ |
| 14 |
/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT90" 1 "slp1" { xfail *-*-* } } } */ |