Repository navigation
Conversation
Recover the scalar angle-helper easing expression and the two-component weighted interpolation with the original floating-point operation order. Co-Authored-By: Codex <noreply@openai.com>
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.
Adds matching C for two PAL interpolation helpers:
func_00474558evaluates(1 - func_00454140(value * pi)) * 0.5(64 bytes), andfunc_00501D18performs two-component weighted interpolation (64 bytes). The weighted helper preserves the original order of loads, calculations and stores, including aliasing behavior when the output overlaps either input.Validation:
tools/cc.sh: 128 bytes match PAL retail at the catalogue addresses.0x00454140; all float constants match.otherrows, preserving all prior rows. Regenerated the reports/README; the US report is semantically unchanged.tools/progress.py --checkandgit diff --checkpass.The existing repository sources were compiled in the preceding contribution's full compilation run; these two final sources were compiled and verified separately. No US retail image is available locally, so global US match/relocation audits were not run. No retail data, disassembly or toolchain files are included.
Based directly on upstream main, independently of the other open contributions. This PR adds two functions / 128 bytes to the PAL baseline of 5,138 / 396,888; its report records 5,140 / 397,016.