Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/copysign-rv32gcv.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-std=c99 -O3 -fno-vect-cost-model -march=rv32gcv_zvfh -mabi=ilp32d -mrvv-vector-bits=zvl -ffast-math" } */
3
4 #include "copysign-template.h"
5
6 /* { dg-final { scan-assembler-times {\tvfsgnj\.vv} 6 } } */
7 /* The vectorizer wraps scalar variants of copysign into vector constants which
8 expand cannot handle currently. Therefore only expect 3 instead of 6
9 vfsgnjx.vv. */
10 /* { dg-final { scan-assembler-times {\tvfsgnjx\.vv} 3 } } */
11 /* { dg-final { scan-assembler-times {\tvfsgnjn\.vv} 6 } } */