gcc/testsuite/gcc.target/aarch64/neg_bf_1.c
raw| 1 | /* { dg-options "-O2" } */ |
| 2 | |
| 3 | typedef __bf16 v8bf __attribute__((vector_size(16))); |
| 4 | typedef __bf16 v16bf __attribute__((vector_size(32))); |
| 5 | typedef __bf16 v64bf __attribute__((vector_size(128))); |
| 6 | |
| 7 | v8bf f1(v8bf x) { return -x; } |
| 8 | v16bf f2(v16bf x) { return -x; } |
| 9 | v64bf f3(v64bf x) { return -x; } |
| 10 | |
| 11 | /* { dg-final { scan-assembler-times {\teor\t[zv]} 11 } } */ |