-
Notifications
You must be signed in to change notification settings - Fork 82
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
Use IEEE 754-2019 definition of min/max #193
Comments
interestingly, x86's SIMD min/max are based on C's |
Are you suggesting that this is still incompatible with the 2019 standard? |
yes. x86 min/max is incompatible with IEEE 754-2008 or 2019. |
I see. Do you have any idea what the |
idk. I wasn't able to find them in the current version of intel's software development manual, so I'm guessing they're proposed instructions that weren't actually implemented, so intel later removed them. |
Is this about rust-lang/rust#91079 ? |
I didn't know about that issue, but yes it appears to be the same. |
portable-simd's current min/max is incompatible with ieee minimum/maximum functions because it doesn't correctly handle signed zeros, it's compatible with minnum/maxnum afaict. |
That's how the scalar min/max is named, too. |
This doesn't match the existing scalar min/max, but it appears that it would optimize much better.
The text was updated successfully, but these errors were encountered: