RFR: 8342676: Unsigned Vector Min / Max transforms

Jatin Bhateja jbhateja at openjdk.org
Mon Dec 23 13:34:10 UTC 2024


Adding following IR transforms for unsigned vector Min / Max nodes.

=> UMinV (UMinV(a, b), UMaxV(a, b)) => UMinV(a, b)
=> UMinV (UMinV(a, b), UMaxV(b, a)) => UMinV(a, b)
=> UMaxV (UMinV(a, b), UMaxV(a, b)) => UMaxV(a, b)
=> UMaxV (UMinV(a, b), UMaxV(b, a)) => UMaxV(a, b)
=> UMaxV (a, a) => a
=> UMinV (a, a) => a

New IR validation test accompanies the patch.

This is a follow-up PR for https://github.com/openjdk/jdk/pull/20507

Best Regards,
Jatin

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

Commit messages:
 - Update IR transforms and tests
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8342676
 - 8342676: Unsigned Vector Min / Max transforms

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

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


More information about the hotspot-compiler-dev mailing list