[committed] [RISC-V] Skip zbs-ext-2.c for -Oz as well
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr112337.c
blob10b7881b9f94e521f8e102025e70deed75099b17
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 } */
6 #pragma GCC arm "arm_mve_types.h"
7 int32x4_t h(void *p) { return __builtin_mve_vldrwq_sv4si(p); }
8 void g(int32x4_t);
9 void f(int, int, int, short, int *p) {
10 int *bias = p;
11 for (;;) {
12 int32x4_t d = h(bias);
13 bias += 4;
14 g(d);