RE: [ARC PATCH] Table-driven ashlsi implementation for better code/rtx_costs.

2024-01-09 Thread Claudiu Zissulescu
HI Roger, It looks good. Thank you for your contribution, Claudiu -Original Message- From: Roger Sayle Sent: Sunday, December 24, 2023 1:38 AM To: gcc-patches@gcc.gnu.org Cc: 'Claudiu Zissulescu' ; 'Jeff Law' Subject: [ARC PATCH] Table-driven ashlsi implementat

Re: [ARC PATCH] Table-driven ashlsi implementation for better code/rtx_costs.

2023-12-28 Thread Jeff Law
On 12/23/23 16:37, Roger Sayle wrote: One of the cool features of the H8 backend is its use of tables to select optimal shift implementations for different CPU variants. This patch borrows (plagiarizes) that idiom for SImode left shifts in the ARC backend (for CPUs without a barrel-shifter).

[ARC PATCH] Table-driven ashlsi implementation for better code/rtx_costs.

2023-12-23 Thread Roger Sayle
One of the cool features of the H8 backend is its use of tables to select optimal shift implementations for different CPU variants. This patch borrows (plagiarizes) that idiom for SImode left shifts in the ARC backend (for CPUs without a barrel-shifter). This provides a convenient mechanism for