aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@ventanamicro.com>2023-06-12 20:52:52 +0200
committerRobin Dapp <rdapp@ventanamicro.com>2023-06-19 10:05:05 +0200
commitda6cc50819c6652e9612cf5b35886afc284afb38 (patch)
treecbb713e1528949579de2847447fd9685310afaf8 /libgcc
parent47ffabaf669e0c3950c7b1904f0873b006664d99 (diff)
downloadgcc-da6cc50819c6652e9612cf5b35886afc284afb38.zip
gcc-da6cc50819c6652e9612cf5b35886afc284afb38.tar.gz
gcc-da6cc50819c6652e9612cf5b35886afc284afb38.tar.bz2
RISC-V: Add autovec FP unary operations.
This patch adds floating-point autovec expanders for vfneg, vfabs as well as vfsqrt and the accompanying tests. Similary to the binop tests, there are flavors for zvfh now. gcc/ChangeLog: * config/riscv/autovec.md (<optab><mode>2): Add unop expanders. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/unop/abs-run.c: Add FP. * gcc.target/riscv/rvv/autovec/unop/abs-rv32gcv.c: Add FP. * gcc.target/riscv/rvv/autovec/unop/abs-rv64gcv.c: Add FP. * gcc.target/riscv/rvv/autovec/unop/abs-template.h: Add FP. * gcc.target/riscv/rvv/autovec/unop/vneg-run.c: Add FP. * gcc.target/riscv/rvv/autovec/unop/vneg-rv32gcv.c: Add FP. * gcc.target/riscv/rvv/autovec/unop/vneg-rv64gcv.c: Add FP. * gcc.target/riscv/rvv/autovec/unop/vneg-template.h: Add FP. * gcc.target/riscv/rvv/autovec/unop/abs-zvfh-run.c: New test. * gcc.target/riscv/rvv/autovec/unop/vfsqrt-run.c: New test. * gcc.target/riscv/rvv/autovec/unop/vfsqrt-rv32gcv.c: New test. * gcc.target/riscv/rvv/autovec/unop/vfsqrt-rv64gcv.c: New test. * gcc.target/riscv/rvv/autovec/unop/vfsqrt-template.h: New test. * gcc.target/riscv/rvv/autovec/unop/vfsqrt-zvfh-run.c: New test. * gcc.target/riscv/rvv/autovec/unop/vneg-zvfh-run.c: New test. * gcc.target/riscv/rvv/autovec/zvfhmin-1.c: Add unops.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions