RFR: 8285040: PPC64 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long

Martin Doerr mdoerr at openjdk.java.net
Tue Apr 19 19:36:55 UTC 2022


Add match rules for UDivI, UModI, UDivL, UModL as on x86 (JDK-8282221). PPC64 doesn't have DivMod instructions which can deliver both results at once.
Note: The x86 tests can currently not be extended to this platform because https://bugs.openjdk.java.net/browse/JDK-8280120 is not yet implemented.

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

Commit messages:
 - 8285040: PPC64 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long

Changes: https://git.openjdk.java.net/jdk/pull/8304/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8304&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8285040
  Stats: 49 lines in 3 files changed: 49 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8304.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8304/head:pull/8304

PR: https://git.openjdk.java.net/jdk/pull/8304


More information about the hotspot-compiler-dev mailing list