This is a minor fix to previous patches of mine:

r16-3393-gf864fc36fe0db4 "Add pattern for vector-scalar single-width floating-point multiply"
r16-3395-g7c2ab5865cacc4 "Add pattern for reverse floating-point divide"

I'll go ahead and commit it as obvious.
--
PA
commit 4f1f484a06ea94ab1484445c7ef6620e74849c0b
Author: Paul-Antoine Arras <par...@baylibre.com>
Date:   Wed Aug 27 19:57:39 2025 +0200

    RISC-V: testsuite: Fix vf_vfmul and vf_vfrdiv
    
    Fix type and remove useless DejaGnu directives.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmul-run-1-f64.c: Fix type.
            * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f32.c: Remove
            useless dg directives.
            * gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f64.c: Likewise.

diff --git gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmul-run-1-f64.c gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmul-run-1-f64.c
index 337380a0963..ec3d56213db 100644
--- gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmul-run-1-f64.c
+++ gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfmul-run-1-f64.c
@@ -4,7 +4,7 @@
 #include "vf_binop.h"
 #include "vf_binop_data.h"
 
-#define T    float
+#define T    double
 #define NAME mul
 
 DEF_VF_BINOP_CASE_0_WRAP (T, *, NAME)
diff --git gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f32.c gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f32.c
index 1ebc9a4441d..2fda776e4b4 100644
--- gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f32.c
+++ gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f32.c
@@ -1,8 +1,4 @@
 /* { dg-do run { target { riscv_v } } } */
-/* { dg-require-effective-target riscv_v_ok } */
-/* { dg-require-effective-target riscv_zvfh_ok } */
-/* { dg-add-options "riscv_v" } */
-/* { dg-add-options "riscv_zvfh" } */
 /* { dg-additional-options "--param=fpr2vr-cost=0" } */
 
 #include "vf_binop.h"
diff --git gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f64.c gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f64.c
index 53dc9f9f400..8f2958fcc37 100644
--- gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f64.c
+++ gcc/testsuite/gcc.target/riscv/rvv/autovec/vx_vf/vf_vfrdiv-run-1-f64.c
@@ -1,8 +1,4 @@
 /* { dg-do run { target { riscv_v } } } */
-/* { dg-require-effective-target riscv_v_ok } */
-/* { dg-require-effective-target riscv_zvfh_ok } */
-/* { dg-add-options "riscv_v" } */
-/* { dg-add-options "riscv_zvfh" } */
 /* { dg-additional-options "--param=fpr2vr-cost=0" } */
 
 #include "vf_binop.h"

Reply via email to