Skip to content
Unverified Commit b82fd946 authored by Naoki Shibata's avatar Naoki Shibata Committed by GitHub
Browse files

[aarch64] Fix fmin and fmax on aarch64 (#140)

vmaxnum_v*_v*_v* and vminnum_v*_v*_v* are helper functions for utilizing instructions for choosing larger and smaller elements from two given vectors, and they are introduced in the following PR.

https://github.com/shibatch/sleef/pull/109

It is said that vmaxnmq and vminnmq on aarch64 are IEEE754-conformant, but I recently found that handling of signalling NaN by these instructions is not conforming to the specification of fmin and fmax functions in the ANSI C standard.

This patch fixes that problem. It also adds regression test for checking signaling nan handling in fmin and fmax.
parent 69d7454b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment