gcc/testsuite/gcc.target/arm/pr54051.c
raw| 1 | /* { dg-do assemble } */ |
| 2 | /* { dg-require-effective-target arm_neon } */ |
| 3 | /* { dg-options "-O2" } */ |
| 4 | /* { dg-add-options arm_neon } */ |
| 5 | |
| 6 | #include <arm_neon.h> |
| 7 | |
| 8 | int32_t a __attribute__ ((aligned (64))); |
| 9 | |
| 10 | int32x2x3_t test (void) |
| 11 | { |
| 12 | return vld3_dup_s32 (&a); |
| 13 | } |
| 14 | |
| 15 | int32x2x3_t test1 (void) |
| 16 | { |
| 17 | int32x2x3_t res ; |
| 18 | return vld3_lane_s32 (&a, res, 1); |
| 19 | } |
| 20 |