]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/aarch64/pr64946.c
gcc/ChangeLog:
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / aarch64 / pr64946.c
1
2 /* { dg-do compile } */
3 /* { dg-options "-O3" } */
4
5 signed char a[100],b[100];
6 void absolute_s8 (void)
7 {
8 int i;
9 for (i=0; i<16; i++)
10 a[i] = (b[i] > 0 ? b[i] : -b[i]);
11 };
12
13 /* { dg-final { scan-assembler-times "abs\tv\[0-9\]+.16b, v\[0-9\]+.16b" 1 } } */