Files
BFM-decomp/docs
Drew T b143edb84a docs(cookbook): §467 — global-alloc ties break on declaration order; copied clobber lists cost instructions
From the S76 func_8001EFE0 agent (468 ins, 172 -> 89):

  1. When equal-priority pseudos tie in global-alloc, DECLARATION order
     breaks the tie, not assignment order — worth 36 ins here, and it changed
     control flow too (a spilled base made an arm's reload break the tail
     jump2 had been cross-jumping), so re-check branch shape after using it.
  2. A clobber list copied from a neighbour is a liability: a phantom "$2"
     clobber evicted abr from $v0 and cost 14 ins, where the real macros
     clobber only $12/$13/$14. Verify the list, not just the body.
  3. convert_to_integer shortens a narrow-looking sum to QImode and drops its
     andi; an explicit s32 temp for the sum restores it.
2026-09-03 16:05:01 -06:00
..
2026-09-02 16:45:33 -06:00