On 7/8/2026 12:20 AM, Jim Lin wrote:
The type "cpop" was listed in both spacemit_x60_alu (latency 1) and the
dedicated spacemit_x60_alu2c reservation (latency 2). Since
spacemit_x60_alu appears first, it always matched cpop and left
spacemit_x60_alu2c dead, so cpop was scheduled with the wrong latency.
Remove cpop from spacemit_x60_alu so the dedicated 2-cycle reservation
takes effect.
gcc/ChangeLog:
* config/riscv/spacemit-x60.md (spacemit_x60_alu): Remove cpop
from the type list.
Thanks. Pushed to the trunk.
jeff