diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2024-05-16 12:43:43 +0200 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2024-07-19 13:55:50 +0800 |
commit | 0abce4116a5ac58fdf1b8839b7db8ce04dd8a55a (patch) | |
tree | d0fd96b7e80fd85da8d92eafa41c0a87dc4ce307 /libgfortran/intrinsics/time.c | |
parent | 937713a5235bf9a9b8960635315882e8cee2706e (diff) | |
download | gcc-0abce4116a5ac58fdf1b8839b7db8ce04dd8a55a.zip gcc-0abce4116a5ac58fdf1b8839b7db8ce04dd8a55a.tar.gz gcc-0abce4116a5ac58fdf1b8839b7db8ce04dd8a55a.tar.bz2 |
RISC-V: Split vwadd.wx and vwsub.wx and add helpers.
vwadd.wx and vwsub.wx have the same problem vfwadd.wf had. This patch
splits the insn pattern in the same way vfwadd.wf was split.
It also adds two patterns to recognize extended scalars. In practice
those do not provide a lot of improvement over what we already have but
in some instances we can get rid of redundant extensions.
gcc/ChangeLog:
* config/riscv/vector.md: Split vwadd.wx/vwsub.wx pattern and
add extended_scalar patterns.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/pr115068.c: Add vwadd.wx/vwsub.wx
tests.
* gcc.target/riscv/rvv/base/pr115068-run.c: Include pr115068.c.
* gcc.target/riscv/rvv/base/vwaddsub-1.c: New test.
(cherry picked from commit 9781885a624f3e29634d95c14cd10940cefb1a5a)
Diffstat (limited to 'libgfortran/intrinsics/time.c')
0 files changed, 0 insertions, 0 deletions