RFR: 8312425: [vectorapi] AArch64: Optimize vector math operations with SLEEF [v3]

Paul Sandoz psandoz at openjdk.org
Tue Nov 21 18:17:11 UTC 2023


On Mon, 23 Oct 2023 09:02:35 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> This looks good. As far as I can tell the choice you've made of accuracy matches what we need to meet the spec. 

Same here . Sinh/cosh/tanh/expm1 are specified to be within 2.5 ulps of the exact result, but i believe sleef does not offer that option, it's either within 1 or 3.5, so we have to pick the former. AFAICT sleef does not say anything about monotonicity, but we relax semi-monotonicity for all but sqrt (we defer to IEEE 754).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16234#issuecomment-1821422985


More information about the build-dev mailing list