gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_vector_float1.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 value; |
| 8 | |
| 9 | float32x4_t |
| 10 | foo32 () |
| 11 | { |
| 12 | float32x4_t b = value; |
| 13 | return b; |
| 14 | } |
| 15 | |
| 16 | float16x8_t value1; |
| 17 | |
| 18 | float16x8_t |
| 19 | foo16 () |
| 20 | { |
| 21 | float16x8_t b = value1; |
| 22 | return b; |
| 23 | } |