Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/abs_bf_1.c

raw
1 /* { dg-options "-O2 -ffast-math" } */
2
3 void
4 foo (__bf16 *ptr)
5 {
6 for (int i = 0; i < 8; ++i)
7 ptr[i] = __builtin_fabsf (ptr[i]);
8 }
9
10 /* { dg-final { scan-assembler {\t(?:bic|and)\t[zv]} } } */