Repository navigation
docs/fssm_crosscheck: 665 FSSM blobs end at the binding-table name (the 'at least 40 bytes' does not reproduce) - #7023
Open
abilliontokens wants to merge 1 commit into
Conversation
…ot 'at least 40 bytes') Re-counted with fssm_header.binding_table (unchanged since 2fecf12, where the row was written) over the 26,503 1.0.2.1 blobs: 25,838 have 40 to 4,520 bytes after the tail name, 665 have none (the 17 code_end = DEAD blobs among them). Every other figure in the row reproduces.
Contributor
|
Tested a134659 merged with main 8575d36 on Linux/Python 3.12.16: pass Merge was clean (one table row in docs/fssm_crosscheck.md). There is no code or test, so no negative control applies. What I checked from the repository:
I did not re-count the 25,838 / 665 / 40 to 4,520 byte figures; they need the retail files. |
|
Tested a134659 merged with main 1d73504 (clean vs 8575d36): the rewritten row keeps the machine-checked test_fssm_crosscheck green (Ran 6, OK), the re-count tool commit 6596542 you cite exists, and binding_table is in tools/fssm_header.py as referenced. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: #6910 (comment) (a measured number in docs/fssm_crosscheck.md line 89 that does not reproduce)
Depends on: none. No open PR edits this line. The open PRs on this file touch lines 11–31 (#5952), 228 (#6558) and 243 (#6648).
What and why
The binding-table row in
docs/fssm_crosscheck.md§1 says the bytes after the post-code_endname are "at least 40 bytes". That row was written at2fecf1212withfssm_header.binding_table, and the function is unchanged since then. Re-running it over the 26,503 1.0.2.1 FSSM blobs:code_end = DEADblobs. The other 648 are 133 with header 3 and 515 with header 4.All 665 sidecars are byte-identical to
fssm_unpack.unpack()of their.dxbc, so this is not truncation in the work folder.This PR replaces the one sentence. Every other figure in that row and in the §1–§2 rows I re-ran reproduces exactly, so they are left as they are:
code_off: 11,971 are 0 mod 16 and 14,532 are 8 mod 16;code_sizeis 0 mod 16 in allmeta_ptris DEAD in 635;code_endequalscode_off + code_sizein 26,486, and the other 17 are DEADs_endpgmcount: 1 in 18,558, 2 in 5,799, 3 in 1,535, 4 in 232, 5 or more in 362; the filler after the last one is complete in 26,486Other measured numbers re-run in this lane (newest origin/main, fixed 1.0.2.1 input): all of them reproduce, so nothing else is changed.
tools/heap_index_census.py: 770,412 / 769,366 / 1,041 (63 outside heap-indexing shaders), 18,066 / 6,964.tools/feature_scan.py:s_getpc_b6454 VS / 93 PS / 266 MS / 263 CS; the MUBUF word-3 sources 88,924 / 1,390 / 2; MTBUF formats.tools/wave32_pixel_scan.py: 1,127 / 1,010 / 146 / 105 / 117 / 926 / 826.tools/image_bvh_census.py: 716 sites in 64 CS, 397 / 335 / 319 / 633 / 548.docs/isa_coverage.md's result is stale (558/424/1/170 now against 436/408/2/307), but docs: refresh ISA coverage numbers, fix stale known-names test #6060 already refreshes it, so it is left alone here.Tested
Commit
a13465921on origin/main659654236. Docs-only change.The re-count is a stdlib loop over
<work>/shaders/dxbc/fssm/*.fssmcallingfssm_header.binding_table(blob)["trailing"]: 665 zero, 25,838 between 40 and 4,520. It ran CPU only on Windows 11 with Python 3.12.10; no GPU involved.AI-assisted: yes (omp orchestrator).
Checklist
docs/design.md, with how it was confirmed. (No translator change.)