RFR: 8328633: s390x: Improve vectorization of Match.sqrt() on floats
Martin Doerr
mdoerr at openjdk.org
Thu Mar 21 08:31:19 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.
LGTM.
-------------
Marked as reviewed by mdoerr (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18406#pullrequestreview-1951178078
More information about the hotspot-compiler-dev
mailing list