RISC-V: Adjust the vf-[378]* testcase by param=vr2fpr-cost

After we introduced param=vr2fpr-cost, add it to testcase to
make it happy.

	PR/target 123916

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/rvv/autovec/vx_vf/vf-3-f16.c: Add param
	vr2fpr-cost.
	* gcc.target/riscv/rvv/autovec/vx_vf/vf-3-f32.c: Ditto.
	* gcc.target/riscv/rvv/autovec/vx_vf/vf-3-f64.c: Ditto.
	* gcc.target/riscv/rvv/autovec/vx_vf/vf-7-f16.c: Ditto.
	* gcc.target/riscv/rvv/autovec/vx_vf/vf-7-f32.c: Ditto.
	* gcc.target/riscv/rvv/autovec/vx_vf/vf-7-f64.c: Ditto.
	* gcc.target/riscv/rvv/autovec/vx_vf/vf-8-f16.c: Ditto.
	* gcc.target/riscv/rvv/autovec/vx_vf/vf-8-f32.c: Ditto.
	* gcc.target/riscv/rvv/autovec/vx_vf/vf-8-f64.c: Ditto.

Signed-off-by: Pan Li <pan2.li@intel.com>
This commit is contained in:
Pan Li
2026-02-04 12:58:42 +08:00
parent 25d819a6e4
commit ff07e354ba
9 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv_zvfh -mabi=lp64d --param=fpr2vr-cost=0" } */
/* { dg-options "-march=rv64gcv_zvfh -mabi=lp64d --param=fpr2vr-cost=0 --param=vr2fpr-cost=0" } */
#include "vf_mulop.h"
#include "vf_binop.h"

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv -mabi=lp64d --param=fpr2vr-cost=0" } */
/* { dg-options "-march=rv64gcv -mabi=lp64d --param=fpr2vr-cost=0 --param=vr2fpr-cost=0" } */
#include "vf_mulop.h"
#include "vf_binop.h"

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv -mabi=lp64d --param=fpr2vr-cost=0" } */
/* { dg-options "-march=rv64gcv -mabi=lp64d --param=fpr2vr-cost=0 --param=vr2fpr-cost=0" } */
#include "vf_mulop.h"
#include "vf_binop.h"

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv_zvfh -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=0" } */
/* { dg-options "-march=rv64gcv_zvfh -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=0 --param=vr2fpr-cost=0" } */
#include "vf_binop.h"

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=0" } */
/* { dg-options "-march=rv64gcv -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=0 --param=vr2fpr-cost=0" } */
#include "vf_binop.h"

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=0" } */
/* { dg-options "-march=rv64gcv -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=0 --param=vr2fpr-cost=0" } */
#include "vf_binop.h"

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv_zvfh -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=4" } */
/* { dg-options "-march=rv64gcv_zvfh -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=4 --param=vr2fpr-cost=4" } */
#include "vf-7-f16.c"

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=4" } */
/* { dg-options "-march=rv64gcv -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=4 --param=vr2fpr-cost=4" } */
#include "vf-7-f32.c"

View File

@@ -1,5 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-march=rv64gcv -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=4" } */
/* { dg-options "-march=rv64gcv -mabi=lp64d -fno-fast-math --param=fpr2vr-cost=4 --param=vr2fpr-cost=4" } */
#include "vf-7-f64.c"