diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2025-09-01 11:41:34 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@ventanamicro.com> | 2025-09-02 17:24:34 +0200 |
commit | f957d352bd6f240829226405e9be7960071d1b9c (patch) | |
tree | 707b3d3335b3794febaaf062e49f35d998bf4d40 /libjava/classpath/java/text | |
parent | 6e0590ba45e8df543133028b0ccf692a21cf2a4d (diff) | |
download | gcc-f957d352bd6f240829226405e9be7960071d1b9c.zip gcc-f957d352bd6f240829226405e9be7960071d1b9c.tar.gz gcc-f957d352bd6f240829226405e9be7960071d1b9c.tar.bz2 |
RISC-V: Handle overlap in expand_vec_perm PR121742.
In a two-source gather we unconditionally overwrite target with the
first gather's result already. If op1 == target this clobbers the
source operand for the second gather. This patch uses a temporary in
that case.
PR target/121742
gcc/ChangeLog:
* config/riscv/riscv-v.cc (expand_vec_perm): Use temporary if
op1 and target overlap.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/autovec/pr121742.c: New test.
Diffstat (limited to 'libjava/classpath/java/text')
0 files changed, 0 insertions, 0 deletions