[PATCH] RISC-V: Fix register move cost for SIBCALL_REGS/JALR_REGS

2025-04-27 Thread
Hi, according to Jeff's requirement (https://gcc.gnu.org/pipermail/gcc-patches/2025-April/681864.html), I divide the change of riscv_register_move_cost into separate patch. Please help to review. Thanks. Zhijin From b4c581393e864619192034bd8000c7e89443c19a Mon Sep 17 00:00:00 2001 From: Zhij

[PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-13 Thread
This patch is to fix the bug (BugId:116305) introduced by the commit bd93ef for risc-v target. The commit bd93ef changes the chunk_num from 1 to TARGET_MIN_VLEN/128 if TARGET_MIN_VLEN is larger than 128 in riscv_convert_vector_bits. So it changes the value of BYTES_PER_RISCV_VECTOR. For example, b