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

Add static dispatch macros #318

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

nemequ
Copy link
Contributor

@nemequ nemequ commented Jul 30, 2020

This still needs a bit of work, but I wanted to get some feedback before proceeding further. I haven't even tried building it for anything other than x86, and I haven't tried using the macros yet.

There are a few features that I'm not sure what to test for because I'm not sure what SLEEF is really looking at. Specifically, the tests for FMA… I guess for x86 that means the FMA4 ISA extension, but what about for other architectures? Should I just be looking at __FP_FAST_FMA__/__FP_FAST_FMAF__, or is there something else?

Overall, does this seem like the right approach to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants