test: follow full-EXEC f64 output word stores #270

Closed
github-bot wants to merge 1 commit from gh-pr/270/head into gh-pr/270/base
Owner

@⁠Andretuta on GitHub · 2026-11-24 02:56 UTC · original
ubiquitarianism:old-pr/10000 → main · +4 −6 · 2 files · 1 commits · closed without merging

Carried over from old PR 10000 by WebIdentity1 in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/10000, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
WebIdentity1: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116967070

What and why

The hand-written f64 conversion and add fixtures keep EXEC fully active. The translator emits a direct OpStore of each computed word in that case, but these two structural tests still require an OpLoad and OpSelect of the old destination. On main d083a2cc3, that stale shape fails all six conversion modifier cases and all seven add modifier cases. The tests now follow the computed value through conversion/add, scaling, clamp, and bit extraction to the direct store. The NoContraction checks remain. Production translation is unchanged; separate semantic tests cover masked execution.

Tested

macOS, Python 3.12, synthetic hand-written listings only; no GPU or game files:

  • Baseline: tests/test_f64_conversion.py fails six modifier subtests; tests/test_f64_output_modifiers.py fails seven.
  • Head: both files pass (3 tests, all modifier cases).
  • Related tests pass: test_f64_transcendentals.py (2), test_f64_omod_probe.py (8), test_f64_float_controls.py (3), semantic/test_valu_add_f64.py (8), semantic/test_valu_cvt_f32_f64.py (58), semantic/test_active_cache.py (9), and semantic/test_carry_exec_mask.py (9).
  • python3.12 -I scripts/check_no_game_data.py on both changed files, compileall, and git diff --check pass.

AI-assisted: yes.

**@⁠Andretuta** on GitHub · 2026-11-24 02:56 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/270) `ubiquitarianism:old-pr/10000` → `main` · +4 −6 · 2 files · 1 commits · closed without merging > Carried over from **old PR 10000** by `WebIdentity1` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/10000`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `WebIdentity1`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116967070 ### What and why The hand-written f64 conversion and add fixtures keep EXEC fully active. The translator emits a direct `OpStore` of each computed word in that case, but these two structural tests still require an `OpLoad` and `OpSelect` of the old destination. On `main` d083a2cc3, that stale shape fails all six conversion modifier cases and all seven add modifier cases. The tests now follow the computed value through conversion/add, scaling, clamp, and bit extraction to the direct store. The `NoContraction` checks remain. Production translation is unchanged; separate semantic tests cover masked execution. ### Tested macOS, Python 3.12, synthetic hand-written listings only; no GPU or game files: - Baseline: `tests/test_f64_conversion.py` fails six modifier subtests; `tests/test_f64_output_modifiers.py` fails seven. - Head: both files pass (3 tests, all modifier cases). - Related tests pass: `test_f64_transcendentals.py` (2), `test_f64_omod_probe.py` (8), `test_f64_float_controls.py` (3), `semantic/test_valu_add_f64.py` (8), `semantic/test_valu_cvt_f32_f64.py` (58), `semantic/test_active_cache.py` (9), and `semantic/test_carry_exec_mask.py` (9). - `python3.12 -I scripts/check_no_game_data.py` on both changed files, `compileall`, and `git diff --check` pass. AI-assisted: yes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:51:24 +00:00
github-bot closed this pull request 2026-11-26 08:51:24 +00:00
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-25 19:10 UTC · original

Closing: everything this pull request changes is already in main. Merging it into main (490f5b9ec) leaves every file as it is. The same change landed with #26.

Thanks for the work! If something here is still missing from main, open a new pull request with what's left.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠aslan2142** on GitHub · 2026-11-25 19:10 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/270#issuecomment-7171907568) Closing: everything this pull request changes is already in `main`. Merging it into `main` (`490f5b9ec`) leaves every file as it is. The same change landed with #26. Thanks for the work! If something here is still missing from `main`, open a new pull request with what's left. AI-assisted (Claude Code, Claude Opus 5.5).

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.