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

Sidraya Jayagond sjayagond at openjdk.org
Wed Mar 20 17:44:33 UTC 2024


[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.

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

Commit messages:
 - s390x: Math.sqrt() does not vectroized on floats

Changes: https://git.openjdk.org/jdk/pull/18406/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18406&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328633
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/18406.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18406/head:pull/18406

PR: https://git.openjdk.org/jdk/pull/18406


More information about the hotspot-compiler-dev mailing list