Repository navigation
HLASM slice 7: storage-byte instructions in the per-instruction differential (Part of #5859) - #6948
Conversation
…rential (Part of #5859) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6948 @ fc4b79d: 2 failed check(s) == equivalence-e2e (failure) -- real == shard 3/3 (failure) -- infra |
|
No description provided. |
Part of #5859.
Checklist: partial [c:e14a97c1] -- a general assembler path for non-zECS programs (no burned program needs it, so it stays frontier);
MVIand high/low collation afterCLC/CLIare not compared.What
Slice 7 of the HLASM front end: the per-instruction differential (
tests/tools/hlasm_diff.py) now observes storage bytes, not only registers. 97 new snippets (168 in all) run through the independent interpreter and, lowered, throughcobcin the pinned oracle image (one container). Result: 0 differences.Covered:
MVC(lengths 1-8, offsets,=Cliteral),XC,OC X,X(halfword/fullword zero test),CLC/CLI(equal / not equal),STCM(all 15 masks, and at an offset),IC(a byte, andIC R,TBL(R)),TR(1, 3, 8 bytes over a 256-byte table).Bytes are compared raw for binary data and as characters for text (interpreter EBCDIC, lowering ASCII: design doc assumption 3), so text cases keep to letters. A test pins that the lowering refuses
BChigh/low afterCLC/CLIby name (EBCDIC collates differently).No lowering or interpreter defect surfaced, so
det/hlasm.pyandhlasm_interp.pyare unchanged; no golden bless.Files (3 hand-written)
tests/tools/hlasm_diff.py,tests/cobol_mainframe/test_hlasm_diff_5859.py,docs/language_status/hlasm_cics_design.md.Gates
hlasm diff/interp/lowering tests (150 passed),
audit_check.pyclean,pr_gates --fast --ratchets(see below). The cobc test isslow-marked (about 12 s locally for one container).Sibling gaps
MVI: outside the interpreter subset; no burned program known to need it.Lessons for agents
DCdata in a lowered snippet must come afterLTORG;OCis accepted only as a zero test on anH/Ffield,XConly on non-binary fields.DFHEISTGfield is spaces under cobc and zeros in the interpreter: zero what you compare.🤖 Generated with Claude Code