On 1/12/25 7:49 AM, Xi Ruoyao wrote:
When zbs is not available, there's nothing special with single-bit
immediates and we should perform reassociation as normal immediates.

gcc/ChangeLog:

        PR target/115921
        * config/riscv/riscv.md (<optab>_shift_reverse): Only check
        popcount_hwi if !TARGET_ZBS.
Thanks.  I've pushed this to the trunk.
jeff

Reply via email to