Repository navigation
HFP: High Level Assembler capture kit for the IEEE conversions and short mul/div (Part of #4271, #4050) - #6023
Merged
Merged
Conversation
…ort mul/div (Part of #4271, #4050) The COBOL kit skipped 28 table records (22 IEEE conversions, 6 short multiply/divide), so a z/OS run could never settle them. `emit` now also writes HFPCAPA.asm/.jcl (THDER/THDR, TBEDR/TBDR, MEER, DER); `verify`/`ingest` take `--kit asm`. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 22, 2026 15:17
squid-protocol
enabled auto-merge (squash)
October 22, 2026 15:18
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
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.
Part of #4271, #4050.
Checklist: partial [c:ff93cc35] -- needs a z/OS run of HFPCAP and HFPCAPA, then
ingestaszos-runrecords, settling the ASSUMED rules the run disagrees with, and EPSMPMT's**re-check (mortgage-mpmtout of KNOWN_UNPROVEN)What
The COBOL capture kit skipped 28 table records by name (22 IEEE conversions: COBOL has no IEEE converter; 6 short multiply/divide: COBOL evaluates them in long). A z/OS run of HFPCAP alone could never settle them.
hfp_capture_kit.py emitnow also writesHFPCAPA.asm/HFPCAPA.jcl: a High Level Assembler program (OPTABLE(UNI), two base registers) usingTHDER/THDR,TBEDR/TBDR(M3=4, nearest even, the model's rule) andMEER/DER. Sameid|HEXlines;verify/ingesttake--kit asm. Only a short**stays unasked. Register C6 and its runbook updated.Class
Capture-table records the COBOL kit cannot ask, so a z/OS run could never settle them.
from_ieee/to_ieee(short, long)emit_asm,test_each_skipped_op_becomes_the_instruction_its_row_statesmul/divpow**in long; no record asks ittest_the_assembler_kit_asks_exactly_the_records_the_cobol_kit_skipspins the partition (28, no overlap, none left over).Sibling gaps
Proposed split of [c:ff93cc35] (remaining lines)
verifythe SYSOUTingestaszos-run; fixdet/hfp.py/Hfp.javawhere the model disagrees (never a record)**re-check;mortgage-mpmtout of KNOWN_UNPROVEN;mortgage-csmrt/mortgage-cmortbaseline entries (det_port: a CICS case's CALLed subprograms are not translated, so DBB EPSCSMRT cannot be cased (EPSMPMT stub; C6 holes) #4803); C6reached:Verification
pytest tests/cobol_mainframe -k "hfp or register or support_matrix": 315 passed;audit_check.pyall clear;ruff format --checkclean.Cross-repo
None.
Lessons for agents
--kitdefault keeps every existingaskable/skippedcaller on the COBOL meaning; the asm kit'sskippedis "neither kit asks".🤖 Generated with Claude Code