commit | a6bf07653cd272add46a2218ec141c95d7f02427 | [log] [tgz] |
---|---|---|
author | Robin Dapp <rdapp@ventanamicro.com> | Fri Sep 05 09:35:46 2025 +0200 |
committer | Robin Dapp <rdapp@ventanamicro.com> | Fri Sep 05 22:25:25 2025 +0200 |
tree | 5d253812de6b098a7d07b0786b1f139c43ccd63c | |
parent | 41ea9305466ce54027324258aeae9893101941db [diff] |
RISC-V: Check if we can vec_extract [PR121510]. For Zvfhmin a vector mode exists but the corresponding vec_extract does not. This patch checks that a vec_extract is available and otherwise falls back to standard handling. PR target/121510 gcc/ChangeLog: * config/riscv/riscv.cc (riscv_legitimize_move): Check if we can vec_extract. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/pr121510.c: New test.