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

Bit accurate Transcendental support #173

Open
Sonicadvance1 opened this issue Apr 29, 2020 · 0 comments
Open

Bit accurate Transcendental support #173

Sonicadvance1 opened this issue Apr 29, 2020 · 0 comments
Milestone

Comments

@Sonicadvance1
Copy link
Member

This is a long term goal.
Currently we don't offer bit accurate transcendental instructions.
Reciprocal and reciprocal square root instructions have a fairly large range for their precision support.
These are currently implemented with float divisions to ensure all of the CPU backends match results and have same unit test results.

These precision differences have the fun quirk that usually something like the reciprocal of 1.0f results in a result that isn't 1.0f even.

We should have support for a few modes once this gets worked on.

  1. Bit accurate representation that matches SOME known hardware
  2. Most accurate representation (What we have now)
  3. Accuracy that falls within x86 precision requirements, but doesn't match any known hardware (In case any device supports less accurate results that are still within x86 spec)
@skmp skmp added this to the 2212 milestone Aug 10, 2022
@skmp skmp moved this to 🆕 Unplanned in Next Project Milestone Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 Unschedulled
Development

No branches or pull requests

2 participants