Re: [xstormy16 PATCH] Update xstormy16_rtx_costs.

2023-04-22 Thread Jeff Law via Gcc-patches
On 4/22/23 10:38, Roger Sayle wrote: This patch provides an improved rtx_costs target hook on xstormy16. The current implementation has the unfortunate property that it claims that zero_extendhisi2 is very cheap, even though the machine description doesn't provide that instruction/pattern. D

[xstormy16 PATCH] Update xstormy16_rtx_costs.

2023-04-22 Thread Roger Sayle
This patch provides an improved rtx_costs target hook on xstormy16. The current implementation has the unfortunate property that it claims that zero_extendhisi2 is very cheap, even though the machine description doesn't provide that instruction/pattern. Doh! Rewriting the xstormy16_rtx_costs fun