Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/abs-rv32gcv.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-std=c99 -fno-vect-cost-model -march=rv32gcv_zvfh -mabi=ilp32d -mrvv-vector-bits=zvl -ffast-math" } */
3
4 #include "abs-template.h"
5
6 /* { dg-final { scan-assembler-times {\tvseti?vli\s+[a-z0-9,]+,ta,ma} 7 } } */
7 /* { dg-final { scan-assembler-times {\tvrsub\.vi} 4 } } */
8 /* { dg-final { scan-assembler-times {\tvmax\.vv\sv[0-9]+,v[0-9]+,v[0-9]+} 4 } } */
9 /* { dg-final { scan-assembler-times {\tvfabs.v} 3 } } */