/* { dg-do compile } */ /* { dg-additional-options "-std=c99 -fno-vect-cost-model -march=rv32gcv_zvfh -mabi=ilp32d -mrvv-vector-bits=zvl -ffast-math" } */ #include "vsub-template.h" /* { dg-final { scan-assembler-times {\tvsub\.vv} 16 } } */ /* { dg-final { scan-assembler-times {\tvrsub\.vi} 16 } } */ /* { dg-final { scan-assembler-times {\tvfsub\.vv} 12 } } */ /* Do not expect vfrsub for now, because we do not properly handle vop.vx and vfop.vf yet. */ /* { dg-final { scan-assembler-times {\tvfrsub\.vv} 0 } } */