diff options
| author | Pan Li <pan2.li@intel.com> | 2026-02-04 12:55:28 +0800 |
|---|---|---|
| committer | Pan Li <pan2.li@intel.com> | 2026-02-05 09:23:25 +0800 |
| commit | 25d819a6e4dd32b786120a3f4d0f23eed15762f7 (patch) | |
| tree | df2f8860238130323264d3c52f585e2d2202b5f6 /libjava/gnu/java | |
| parent | da392652f2d37f18d7875e4885fc7f9edc27b6ef (diff) | |
| download | gcc-25d819a6e4dd32b786120a3f4d0f23eed15762f7.zip gcc-25d819a6e4dd32b786120a3f4d0f23eed15762f7.tar.gz gcc-25d819a6e4dd32b786120a3f4d0f23eed15762f7.tar.bz2 | |
RISC-V: Introduce vr2fpr-cost= for customizing the cost when vr2fpr
Similar to vr2gpr-cost=, add the one for fpr as well.
PR/target 123916
gcc/ChangeLog:
* config/riscv/riscv-opts.h (VR2FPR_COST_UNPROVIDED): Add new
sentinel for unprovided cost.
* config/riscv/riscv-protos.h (get_vr2fr_cost): Add new func
decl.
* config/riscv/riscv-vector-costs.cc (costs::adjust_stmt_cost):
Leverage new func to get cost of vr2fpr.
* config/riscv/riscv.cc (riscv_register_move_cost): Ditto.
(get_vr2fr_cost): Add new func to wrap access to the cost
of the vr2fpr.
* config/riscv/riscv.opt: Add new param vr2fpr-cost.
Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'libjava/gnu/java')
0 files changed, 0 insertions, 0 deletions
