gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_float.c
raw| 1 | /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */ |
| 2 | /* { dg-add-options arm_v8_1m_mve_fp } */ |
| 3 | /* { dg-skip-if "Incompatible float ABI" { *-*-* } { "-mfloat-abi=soft" } {""} } */ |
| 4 | |
| 5 | #include "arm_mve.h" |
| 6 | |
| 7 | float32x4_t |
| 8 | foo32 (float32x4_t value) |
| 9 | { |
| 10 | float32x4_t b = value; |
| 11 | return b; |
| 12 | } |
| 13 | |
| 14 | float16x8_t |
| 15 | foo16 (float16x8_t value) |
| 16 | { |
| 17 | float16x8_t b = value; |
| 18 | return b; |
| 19 | } |