Skip to content

CI#271

Open
dra27 wants to merge 7 commits intotrunkfrom
fix-pushacc4
Open

CI#271
dra27 wants to merge 7 commits intotrunkfrom
fix-pushacc4

Conversation

@dra27
Copy link
Owner

@dra27 dra27 commented Mar 9, 2026

No description provided.

hhugo and others added 6 commits February 13, 2026 18:17
The Kpush::Kenvacc peephole pattern used n < 4 instead of n <= 4,
so PUSHENVACC4 was never emitted despite existing in the runtime.
Every push+envacc 4 used the generic 2-word PUSHENVACC instruction
instead of the optimized 1-word PUSHENVACC4. This matches the
Kenvacc case which correctly uses n <= 4.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
On Windows, ocamlrun outputs \r\n line endings. For argument-less
opcodes (shape = Nothing), the opcode name is the last field on the
line, so awk '{print $2}' includes the trailing \r (e.g. "ADDINT\r").
These tainted names don't match the clean entries in all.txt, causing
comm to report them as never emitted.

Opcodes with arguments are unaffected because \r attaches to the last
field (the argument), not the opcode name.

Strip \r early in the pipeline with tr -d '\r'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants