Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions specs/tri/t27b/golden_spec.t27
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,12 @@ module T27bGoldenSpec;
; csel cur_prev, r1000, tmp, hs ; 1 (r1000 already in register)
; subs cnt, cnt, #1 ; 1
; b.ne loop_top ; 1
; Projected: 8 words (saves 1 more word by eliminating movz inside loop).
; Measurement pending: run `t27b asm specs/tri/shootout/bench_audit.t27` with
; a binary from master after PR #13439; count loop-body words from loop_top to b.ne.
; GCC -O2: 10 words (last measured after #13415). See #13440 to record the result.
; Measured: 13 words (2026-11-09, all 8 optimizations merged on master, MAC_HEAVY_OK build).
; cinc + check_elide(i) fired; if_convert + countdown + licm_body_const did not fire on
; this bench_audit witness (countdown guard too conservative after #13439 body-reads fix;
; if_convert guard rejects the loop-carry shape; licm sees the cur_tick conditional block).
; Net savings from naive (21 words): 8 words -- matches merged_word_savings().
; GCC -O2: 10 words (last measured after #13415); our gap = 3 words.
; ========================================

; --- STATUS TABLE ---
Expand Down
Loading