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

Change FDIV to FMUL #831

Merged
merged 2 commits into from
Sep 7, 2024
Merged

Change FDIV to FMUL #831

merged 2 commits into from
Sep 7, 2024

Conversation

heshpdx
Copy link
Contributor

@heshpdx heshpdx commented Sep 2, 2024

Some small performance improvement from safely changing a couple floating point divides to floating point multiplies.

FDIV is more expensive than FMUL on most hardware, but actual improvements will be microarchitecture specific.

Some small performance improvement from safely changing a
couple floating point divides to floating point multiplies.
src/lib/alp/sls_basic.hpp Outdated Show resolved Hide resolved
Use calculated value to ensure no functional change.
@bbuchfink bbuchfink merged commit a77eaa4 into bbuchfink:master Sep 7, 2024
4 checks passed
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