gcc/testsuite/gcc.target/arm/mve/pr112337.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2" } */ |
| 3 | /* { dg-require-effective-target arm_v8_1m_mve_ok } */ |
| 4 | /* { dg-add-options arm_v8_1m_mve } */ |
| 5 | #include <arm_mve.h> |
| 6 | |
| 7 | void g(int32x4_t); |
| 8 | void f(int, int, int, short, int32_t *p) { |
| 9 | int32_t *bias = p; |
| 10 | for (;;) { |
| 11 | int32x4_t d = vldrwq_s32 (p); |
| 12 | bias += 4; |
| 13 | g(d); |
| 14 | } |
| 15 | } |