Re: [PATCH 1/2] RISC-V: Adding cost model for zilsd

2025-06-17 Thread Jeff Law
On 6/17/25 1:56 AM, Kito Cheng wrote: Motivation of this patch is we want to use ld/sd if possible when zilsd is enabled, however the subreg pass may split that into two lw/sw instructions because the cost, and it only check cost for 64 bits reg move, that's why we need adjust cost for 64 bit

[PATCH 1/2] RISC-V: Adding cost model for zilsd

2025-06-17 Thread Kito Cheng
Motivation of this patch is we want to use ld/sd if possible when zilsd is enabled, however the subreg pass may split that into two lw/sw instructions because the cost, and it only check cost for 64 bits reg move, that's why we need adjust cost for 64 bit reg move as well. However even we adjust t