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

Amit Kumar amitkumar at openjdk.org
Thu Mar 21 04:42: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.

LGTM. 

I have test "tier1 on fastdebug" results are clean.

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

Marked as reviewed by amitkumar (Committer).

PR Review: https://git.openjdk.org/jdk/pull/18406#pullrequestreview-1950745302


More information about the hotspot-compiler-dev mailing list