diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2024-07-01 13:37:17 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@ventanamicro.com> | 2024-07-05 15:01:43 +0200 |
commit | acc3b703c05debc6276451f9daae5d0ffc797eac (patch) | |
tree | 251a34e18ece7a1127ae7c53bd65a5bd957735b0 /gcc/jit | |
parent | 23a0935262d6817097406578b1c70563f424804b (diff) | |
download | gcc-acc3b703c05debc6276451f9daae5d0ffc797eac.zip gcc-acc3b703c05debc6276451f9daae5d0ffc797eac.tar.gz gcc-acc3b703c05debc6276451f9daae5d0ffc797eac.tar.bz2 |
RISC-V: Use tu policy for first-element vec_set [PR115725].
This patch changes the tail policy for vmv.s.x from ta to tu.
By default the bug does not show up with qemu because qemu's
current vmv.s.x implementation always uses the tail-undisturbed
policy. With a local qemu version that overwrites the tail
with ones when the tail-agnostic policy is specified, the bug
shows.
gcc/ChangeLog:
* config/riscv/autovec.md: Add TU policy.
* config/riscv/riscv-protos.h (enum insn_type): Define
SCALAR_MOVE_MERGED_OP_TU.
gcc/testsuite/ChangeLog:
PR target/115725
* gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-1.c: Adjust
test expectation.
* gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-2.c: Ditto.
* gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-3.c: Ditto.
* gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-4.c: Ditto.
Diffstat (limited to 'gcc/jit')
0 files changed, 0 insertions, 0 deletions