Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X87: Simplify constant loading for FLD family #3568

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

lioncash
Copy link
Contributor

@lioncash lioncash commented Apr 9, 2024

We can just extract these into our named constant pool and load them out of there so that we don't need to rematerialize them every time one of these instructions are executed.

Was also able to apply this to FYL2XP1 and FPTAN as well

Copy link
Member

@Sonicadvance1 Sonicadvance1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, needs a rebase.

lioncash added 3 commits April 9, 2024 10:13
Makes it aware of the x87 constants.
Now we can load these directly instead of needing to manually materialize them.
@Sonicadvance1 Sonicadvance1 merged commit 271700e into FEX-Emu:main Apr 11, 2024
10 checks passed
@lioncash lioncash deleted the const branch April 11, 2024 07:44
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