1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3 
4 #pragma GCC target "+nosve"
5 
6 signed char a[100],b[100];
absolute_s8(void)7 void absolute_s8 (void)
8 {
9   int i;
10   for (i=0; i<16; i++)
11     a[i] = (b[i] > 0 ? b[i] : -b[i]);
12 };
13 
14 /* { dg-final { scan-assembler-times "abs\tv\[0-9\]+.16b, v\[0-9\]+.16b" 1 } } */
15