RISC-V: Reorganize binary autovec testcases

Message ID 20230512010247.116026-1-juzhe.zhong@rivai.ai
State Accepted
Headers
Series RISC-V: Reorganize binary autovec testcases |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

juzhe.zhong@rivai.ai May 12, 2023, 1:02 a.m. UTC
  From: Juzhe-Zhong <juzhe.zhong@rivai.ai>

1. This patch is moving binary autovec testcases into binop directory to make it
easier to maintain.

2. Current binary autovec only tested in LMUL = 1, enable testing in LMUL = 2/4/8.

Tested on both rv32/rv64, with no fails in RVV.
Ok for trunk ?

gcc/testsuite/ChangeLog:

        * gcc.target/riscv/rvv/autovec/shift-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/shift-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/shift-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/shift-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/shift-scalar-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-scalar-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/shift-scalar-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/shift-scalar-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/shift-scalar-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-scalar-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/shift-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/shift-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vadd-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vadd-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vadd-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vadd-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vadd-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vadd-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vadd-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vadd-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vadd-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vadd-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vand-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vand-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vand-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vand-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vand-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vand-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vand-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vand-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vand-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vand-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vdiv-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vdiv-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vdiv-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vdiv-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vdiv-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vdiv-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vdiv-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vdiv-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vmax-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmax-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vmax-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmax-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmax-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmax-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmax-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmax-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmax-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmax-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vmin-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmin-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vmin-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmin-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmin-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmin-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmin-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmin-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmin-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmin-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vmul-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmul-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vmul-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmul-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmul-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmul-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vmul-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vmul-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vor-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vor-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vor-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vor-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vor-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vor-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vor-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vor-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vor-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vor-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vrem-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vrem-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vrem-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vrem-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vrem-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vrem-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vrem-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vrem-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vrem-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vsub-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vsub-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vsub-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vsub-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vsub-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vsub-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vsub-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vsub-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vsub-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vsub-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vxor-run-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vxor-run-template.h: ...here.
        * gcc.target/riscv/rvv/autovec/vxor-run.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vxor-run.c: ...here.
        * gcc.target/riscv/rvv/autovec/vxor-rv32gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vxor-rv32gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vxor-rv64gcv.c: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vxor-rv64gcv.c: ...here.
        * gcc.target/riscv/rvv/autovec/vxor-template.h: Moved to...
        * gcc.target/riscv/rvv/autovec/binop/vxor-template.h: ...here.
        * gcc.target/riscv/rvv/rvv.exp: Add autovec LMUL = 2/4/8 for binary.

---
 .../riscv/rvv/autovec/{ => binop}/shift-run-template.h          | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-run.c        | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-rv32gcv.c    | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-rv64gcv.c    | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-run.c | 0
 .../riscv/rvv/autovec/{ => binop}/shift-scalar-rv32gcv.c        | 0
 .../riscv/rvv/autovec/{ => binop}/shift-scalar-rv64gcv.c        | 0
 .../riscv/rvv/autovec/{ => binop}/shift-scalar-template.h       | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-template.h   | 0
 .../riscv/rvv/autovec/{ => binop}/vadd-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vadd-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vadd-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vadd-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vadd-template.h    | 0
 .../riscv/rvv/autovec/{ => binop}/vand-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vand-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vand-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vand-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vand-template.h    | 0
 .../riscv/rvv/autovec/{ => binop}/vdiv-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-template.h    | 0
 .../riscv/rvv/autovec/{ => binop}/vmax-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmax-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmax-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmax-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmax-template.h    | 0
 .../riscv/rvv/autovec/{ => binop}/vmin-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmin-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmin-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmin-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmin-template.h    | 0
 .../riscv/rvv/autovec/{ => binop}/vmul-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmul-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmul-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmul-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vmul-template.h    | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-run-template.h | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-run.c          | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-rv32gcv.c      | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-rv64gcv.c      | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-template.h     | 0
 .../riscv/rvv/autovec/{ => binop}/vrem-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vrem-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vrem-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vrem-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vrem-template.h    | 0
 .../riscv/rvv/autovec/{ => binop}/vsub-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vsub-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vsub-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vsub-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vsub-template.h    | 0
 .../riscv/rvv/autovec/{ => binop}/vxor-run-template.h           | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vxor-run.c         | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vxor-rv32gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vxor-rv64gcv.c     | 0
 .../gcc.target/riscv/rvv/autovec/{ => binop}/vxor-template.h    | 0
 gcc/testsuite/gcc.target/riscv/rvv/rvv.exp                      | 2 ++
 60 files changed, 2 insertions(+)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-run-template.h (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-run.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-rv32gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-rv64gcv.c (100%)
 rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-template.h (100%)
  

Comments

Kito Cheng May 12, 2023, 2:12 a.m. UTC | #1
OK

On Fri, May 12, 2023 at 9:03 AM <juzhe.zhong@rivai.ai> wrote:
>
> From: Juzhe-Zhong <juzhe.zhong@rivai.ai>
>
> 1. This patch is moving binary autovec testcases into binop directory to make it
> easier to maintain.
>
> 2. Current binary autovec only tested in LMUL = 1, enable testing in LMUL = 2/4/8.
>
> Tested on both rv32/rv64, with no fails in RVV.
> Ok for trunk ?
>
> gcc/testsuite/ChangeLog:
>
>         * gcc.target/riscv/rvv/autovec/shift-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/shift-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/shift-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/shift-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/shift-scalar-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-scalar-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/shift-scalar-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/shift-scalar-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/shift-scalar-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-scalar-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/shift-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/shift-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vadd-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vadd-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vadd-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vadd-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vadd-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vadd-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vadd-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vadd-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vadd-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vadd-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vand-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vand-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vand-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vand-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vand-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vand-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vand-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vand-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vand-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vand-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vdiv-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vdiv-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vdiv-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vdiv-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vdiv-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vdiv-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vdiv-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vdiv-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vmax-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmax-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vmax-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmax-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmax-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmax-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmax-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmax-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmax-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmax-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vmin-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmin-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vmin-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmin-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmin-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmin-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmin-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmin-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmin-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmin-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vmul-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmul-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vmul-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmul-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmul-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmul-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vmul-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vmul-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vor-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vor-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vor-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vor-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vor-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vor-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vor-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vor-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vor-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vor-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vrem-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vrem-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vrem-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vrem-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vrem-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vrem-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vrem-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vrem-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vrem-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vsub-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vsub-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vsub-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vsub-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vsub-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vsub-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vsub-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vsub-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vsub-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vsub-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vxor-run-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vxor-run-template.h: ...here.
>         * gcc.target/riscv/rvv/autovec/vxor-run.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vxor-run.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vxor-rv32gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vxor-rv32gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vxor-rv64gcv.c: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vxor-rv64gcv.c: ...here.
>         * gcc.target/riscv/rvv/autovec/vxor-template.h: Moved to...
>         * gcc.target/riscv/rvv/autovec/binop/vxor-template.h: ...here.
>         * gcc.target/riscv/rvv/rvv.exp: Add autovec LMUL = 2/4/8 for binary.
>
> ---
>  .../riscv/rvv/autovec/{ => binop}/shift-run-template.h          | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-run.c        | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-rv32gcv.c    | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-rv64gcv.c    | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-run.c | 0
>  .../riscv/rvv/autovec/{ => binop}/shift-scalar-rv32gcv.c        | 0
>  .../riscv/rvv/autovec/{ => binop}/shift-scalar-rv64gcv.c        | 0
>  .../riscv/rvv/autovec/{ => binop}/shift-scalar-template.h       | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/shift-template.h   | 0
>  .../riscv/rvv/autovec/{ => binop}/vadd-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vadd-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vadd-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vadd-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vadd-template.h    | 0
>  .../riscv/rvv/autovec/{ => binop}/vand-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vand-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vand-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vand-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vand-template.h    | 0
>  .../riscv/rvv/autovec/{ => binop}/vdiv-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-template.h    | 0
>  .../riscv/rvv/autovec/{ => binop}/vmax-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmax-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmax-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmax-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmax-template.h    | 0
>  .../riscv/rvv/autovec/{ => binop}/vmin-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmin-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmin-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmin-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmin-template.h    | 0
>  .../riscv/rvv/autovec/{ => binop}/vmul-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmul-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmul-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmul-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vmul-template.h    | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-run-template.h | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-run.c          | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-rv32gcv.c      | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-rv64gcv.c      | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vor-template.h     | 0
>  .../riscv/rvv/autovec/{ => binop}/vrem-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vrem-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vrem-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vrem-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vrem-template.h    | 0
>  .../riscv/rvv/autovec/{ => binop}/vsub-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vsub-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vsub-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vsub-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vsub-template.h    | 0
>  .../riscv/rvv/autovec/{ => binop}/vxor-run-template.h           | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vxor-run.c         | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vxor-rv32gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vxor-rv64gcv.c     | 0
>  .../gcc.target/riscv/rvv/autovec/{ => binop}/vxor-template.h    | 0
>  gcc/testsuite/gcc.target/riscv/rvv/rvv.exp                      | 2 ++
>  60 files changed, 2 insertions(+)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-scalar-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/shift-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vadd-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vand-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vdiv-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmax-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmin-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vmul-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vor-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vrem-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vsub-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-run-template.h (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-run.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-rv32gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-rv64gcv.c (100%)
>  rename gcc/testsuite/gcc.target/riscv/rvv/autovec/{ => binop}/vxor-template.h (100%)
>
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-run-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-run-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-run-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-run.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-run.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-run.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-rv32gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-rv32gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-rv32gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-rv64gcv.c
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-rv64gcv.c
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-rv64gcv.c
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-template.h
> similarity index 100%
> rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-template.h
> rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-template.h
> diff --git a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
> index 0eef068058a..be2457fbd99 100644
> --- a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
> +++ b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
> @@ -61,6 +61,8 @@ set AUTOVEC_TEST_OPTS [list \
>  foreach op $AUTOVEC_TEST_OPTS {
>    dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/partial/*.\[cS\]]] \
>      "" "$op"
> +  dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/binop/*.\[cS\]]] \
> +    "" "$op"
>  }
>
>  # All done.
> --
> 2.36.1
>
  

Patch

diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-scalar-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-scalar-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/shift-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/shift-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vadd-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vand-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vand-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vdiv-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmax-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmax-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmin-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmin-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vmul-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vor-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vor-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vrem-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vsub-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vsub-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-run-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-run-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-run-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-run-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-run.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-run.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-run.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-rv32gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-rv32gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-rv32gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-rv32gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-rv64gcv.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-rv64gcv.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-rv64gcv.c
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-rv64gcv.c
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-template.h b/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-template.h
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/rvv/autovec/vxor-template.h
rename to gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vxor-template.h
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
index 0eef068058a..be2457fbd99 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
+++ b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
@@ -61,6 +61,8 @@  set AUTOVEC_TEST_OPTS [list \
 foreach op $AUTOVEC_TEST_OPTS {
   dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/partial/*.\[cS\]]] \
     "" "$op"
+  dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/binop/*.\[cS\]]] \
+    "" "$op"
 }
 
 # All done.