2 /* { dg-skip-if "Don't inline memset using neon instructions" { ! arm_tune_string_ops_prefer_neon } } */
3 /* { dg-options "-save-temps -O2 -fno-inline" } */
4 /* { dg-add-options "arm_neon" } */
19 check (signed char *arr
, int idx
, int len
, int v
)
22 for (i
= 0; i
< idx
; i
++)
26 for (i
= idx
; i
< len
; i
++)
35 check ((signed char *)a
, 14, sizeof (a
), -1);
40 /* { dg-final { scan-assembler-not "bl?\[ \t\]*memset" { target { arm_thumb2_ok } } } } */
41 /* { dg-final { scan-assembler "vst1" { target { arm_little_endian && arm_neon } } } } */
42 /* { dg-final { scan-assembler-not "vstr" { target { arm_little_endian && arm_neon } } } } */