On 7/11/2026 11:32 AM, Jin Ma wrote:
The early-clobber scratch in *<any_extract>3 is unnecessary: slli
reads its source before writing, so the destination register can
safely hold the intermediate value.  This reduces register pressure
and makes the split output simpler.

gcc/ChangeLog:

        * config/riscv/riscv.md (*<any_extract:optab><GPR:mode>3):
        Remove (clobber (match_scratch)) and use operand 0 as the
        intermediate destination for the shift-left half of the split.
OK.  THanks.

Jeff

Reply via email to