Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-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 "vsub-template.h"
5
6 /* { dg-final { scan-assembler-times {\tvsub\.vv} 16 } } */
7 /* { dg-final { scan-assembler-times {\tvrsub\.vi} 16 } } */
8
9 /* { dg-final { scan-assembler-times {\tvfsub\.vv} 12 } } */
10
11 /* Do not expect vfrsub for now, because we do not properly
12 handle vop.vx and vfop.vf yet. */
13 /* { dg-final { scan-assembler-times {\tvfrsub\.vv} 0 } } */