On Mon, Nov 25, 2024 at 08:08:58PM +0100, Uros Bizjak wrote:
> Optimize also cases where immediate value is a multiple of 32 for 32-bit
> shifts (or multiple of 64 for 64-bit shifts).
> 
> gcc/ChangeLog:
> 
>     * config/i386/i386.md (*ashl<mode>3_negcnt):
>     For SImode shifts allow multiples of 32 (or multiples
>     of 64 for DImode shifts) for immediate operand 3.
>     (*ashl<mode>3_negcnt_1): Ditto.
>     (*<insn><mode>3_negcnt): Ditto.
>     (*<insn><mode>3_negcnt_1): Ditto.

Thanks.

        Jakub

Reply via email to