1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
4 #pragma GCC target "+nosve"
7 t6(int len
, void * dummy
, unsigned short * __restrict x
)
10 unsigned int result
= 0;
12 for (int i
= 0; i
< len
; i
++)
17 /* { dg-final { scan-assembler "uaddw" } } */
18 /* { dg-final { scan-assembler "uaddw2" } } */