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

Magnus Ihse Bursie ihse at openjdk.org
Tue Feb 6 08:23:05 UTC 2024


On Mon, 11 Dec 2023 18:25:09 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

>> @theRealAph 
>>> Or is there likely to be a plan to e.g. build Oracle's releases with SLEEF support?
>> 
>> I can't say anything for sure, but I picked up some positive vibes from our internal chat. I think the idea was that libsleef could potentially cover up vector math for all platforms that the current Intel lib solution is missing (basically, everything but linux+windows x64). So I this can be seen as a bit of a trial balloon if it is worth a more complete integration of libsleef in the JDK.
>> 
>> And I can't say anything at all about what Oracle JDKs are going to release with, but I am fully open towards adding libsleef to the GHA builds. And I'm guessing that Adoptium has no reason not to include libsleef, but then again, I cannot of course speak for them.
>
>> I can't say anything for sure, but I picked up some positive vibes from our internal chat. I think the idea was that libsleef could potentially cover up vector math for all platforms that the current Intel lib solution is missing (basically, everything but linux+windows x64). So I this can be seen as a bit of a trial balloon if it is worth a more complete integration of libsleef in the JDK.
> 
> I can add that we are interested to use that for Linux + RISC-V support given the RISC-V support was recently merged into sleef upstream. https://github.com/shibatch/sleef/pull/477

@luhenry Maybe you are interested in helping with bringing this forward? I can assist with risc-v related fixes in the makefiles. I'd just hate to see all this work go to waste.

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

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


More information about the build-dev mailing list