| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-additional-options "-ffast-math" } */ |
| 3 |
/* { dg-require-effective-target vect_complex_add_half } */ |
| 4 |
/* { dg-require-effective-target float16 } */ |
| 5 |
/* { dg-add-options arm_v8_3a_fp16_complex_neon } */ |
| 6 |
|
| 7 |
#define TYPE _Float16 |
| 8 |
#define N 200 |
| 9 |
#include "complex-mls-template.c" |
| 10 |
/* COMPLEX_ADD_ROT270 is no longer recognized in fms_elemconjsnd. |
| 11 |
The COMPLEX_EXPR that prevented reassoc from changing X - (Y + Z) |
| 12 |
into (X + (-Y)) + (-Z) has been removed since the introduction of |
| 13 |
DCE at the end of cplxlower1. */ |
| 14 |
/* { dg-final { scan-tree-dump "Found COMPLEX_ADD_ROT270" "vect" { xfail *-*-* } } } */ |
| 15 |
/* { dg-final { scan-tree-dump "Found COMPLEX_FMS_CONJ" "vect" } } */ |
| 16 |
/* { dg-final { scan-tree-dump "Found COMPLEX_FMS" "vect" } } */ |