mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:40:52 +01:00
[PR #270] [CLOSED] test: follow full-EXEC f64 output word stores #321
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#321
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/270
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/10000📝 Commits (1)
0fe1669test: follow full-EXEC f64 output word stores📊 Changes
2 files changed (+4 additions, -6 deletions)
View changed files
📝
tests/test_f64_conversion.py(+2 -3)📝
tests/test_f64_output_modifiers.py(+2 -3)📄 Description
Original description (mentions and
#Nreferences 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
OpStoreof each computed word in that case, but these two structural tests still require anOpLoadandOpSelectof the old destination. Onmaind083a2cc3, 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. TheNoContractionchecks 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:
tests/test_f64_conversion.pyfails six modifier subtests;tests/test_f64_output_modifiers.pyfails seven.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), andsemantic/test_carry_exec_mask.py(9).python3.12 -I scripts/check_no_game_data.pyon both changed files,compileall, andgit diff --checkpass.AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.