On Thu, 27 Jun 2024 22:03:37 GMT, Mikael Vidstedt <mik...@openjdk.org> wrote:

>> [JDK-8312425](https://bugs.openjdk.org/browse/JDK-8312425) is looking to 
>> optimize vector math operations by leveraging the SLEEF library. For legal 
>> reasons the actual contribution of the SLEEF files needs to be handled 
>> separately. This enhancement adds the relevant files, enabling the rest of 
>> [JDK-8312425](https://bugs.openjdk.org/browse/JDK-8312425) to move forward.
>
> Mikael Vidstedt has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Update README to include RISC-V

Just some minor comments in README, otherwise looks good.

src/jdk.incubator.vector/linux/native/libvectormath/README line 18:

> 16: NOTE: The following cmake options are necessary when building SLEEF:
> 17: * -DSLEEF_BUILD_INLINE_HEADERS=ON
> 18: * -DSLEEF_ENFORCE_SVE=ON

`-DSLEEF_ENFORCE_SVE=ON` can be removed.

src/jdk.incubator.vector/linux/native/libvectormath/README line 41:

> 39: 
> 40: Currently, the only necessary change is:
> 41: * make `Sleef_rempitabdp` and `Sleef_rempitabsp` in sleefinline_advsimd.h 
> and sleefinline_sve.h `static` to avoid multiple definitions.

These lines can be removed now.

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

Marked as reviewed by mli (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19185#pullrequestreview-2158620004
PR Review Comment: https://git.openjdk.org/jdk/pull/19185#discussion_r1665522936
PR Review Comment: https://git.openjdk.org/jdk/pull/19185#discussion_r1665523304

Reply via email to