upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/cf_diff.py
diff options
context:
space:
mode:
authorTomgamer <tomanhorak22@gmail.com>2026-11-22 16:32:05 +0100
committerTomgamer <tomanhorak22@gmail.com>2026-11-22 16:32:05 +0100
commiteb35aed2e7e8ea1d4a11fd4e42ab80d853f05169 (patch)
tree22bd0e6fa6363235d1feedc1c9be678ab63bee4b /tools/cf_diff.py
parent759a90c42e58886153f67dcd2d5d41c44face012 (diff)
parent4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff)
Merge origin/main into shader-309-wave64-lds-limit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/cf_diff.py')
-rw-r--r--tools/cf_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cf_diff.py b/tools/cf_diff.py
index 741e21561..70d144753 100644
--- a/tools/cf_diff.py
+++ b/tools/cf_diff.py
@@ -567,7 +567,7 @@ def self_test():
567 e.items = [it for it in e.items if not (it[0] == "ins" and it[1].startswith("s_or_b32 exec_lo"))] 567 e.items = [it for it in e.items if not (it[0] == "ins" and it[1].startswith("s_or_b32 exec_lo"))]
568 with tempfile.TemporaryDirectory(prefix="cf-diff-") as tmp: 568 with tempfile.TemporaryDirectory(prefix="cf-diff-") as tmp:
569 p = os.path.join(tmp, "c.s") 569 p = os.path.join(tmp, "c.s")
570 with open(p, "w", encoding="utf-8") as f: 570 with open(p, "w", encoding="utf-8", newline="\n") as f:
571 f.write(listing_text(e.assemble(), "ps_canary_bad")) 571 f.write(listing_text(e.assemble(), "ps_canary_bad"))
572 if len(cf_ref.run(p, wave=32)["exports"]) != 4: # 4 > lane: lanes 0-3 stay on 572 if len(cf_ref.run(p, wave=32)["exports"]) != 4: # 4 > lane: lanes 0-3 stay on
573 print("canary FAILED: the reference did not drop lanes whose EXEC was never restored") 573 print("canary FAILED: the reference did not drop lanes whose EXEC was never restored")