RFR: 8328633: s390x: Improve vectorization of Match.sqrt() on floats

Sidraya Jayagond sjayagond at openjdk.org
Thu Mar 21 08:51:20 UTC 2024


On Wed, 20 Mar 2024 17:39:09 GMT, Sidraya Jayagond <sjayagond at openjdk.org> wrote:

> [JDK-8190800](https://bugs.openjdk.org/browse/JDK-8190800) added `VSqrtF` and `SqrtF` nodes to support the vectorization of Match.sqrt() on floats. For s390x port, however, the scalar version of `sqrtF` still uses the old match rule that converts Float to Double first. It can be simplified to just use `SqrtF`.
> 
> The old match rule also affects the vectorization of Math.sqrt() on float.

Thanks for the reviews.

test failures are not related to this change.

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

PR Comment: https://git.openjdk.org/jdk/pull/18406#issuecomment-2011658287


More information about the hotspot-compiler-dev mailing list