RFR: 8282231: x86-32: runtime call to SharedRuntime::ldiv corrupts registers

Andrew Haley aph at openjdk.java.net
Tue Feb 22 13:41:19 UTC 2022


In x86_32.ad, a call to SharedRuntime::ldiv doesn't save all of the call-clobbered registers. Also SharedRuntime::lrem. 
effect(CALL) is the simplest way to fix this, and AFAIK the most efficient too.

This is by no means the only bug in this area, but it's trivial to fix and allows a bootcycle build to complete on recent Linuxes.

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

Commit messages:
 - 8282231: x86-32: runtime call to SharedRuntime::ldiv corrupts registers
 - Revert effac9b87ecb3cdc8d3d149b9dcd72ee1ea88fec
 - Merge https://github.com/openjdk/jdk into master
 - Merge https://github.com/openjdk/jdk
 - Merge https://github.com/openjdk/jdk
 - Merge branch 'master' of https://github.com/theRealAph/jdk
 - Merge
 - Merge branch 'master' of https://github.com/theRealAph/jdk
 - Merge https://github.com/openjdk/jdk
 - Merge https://github.com/openjdk/jdk
 - ... and 1 more: https://git.openjdk.java.net/jdk/compare/f34f8d4d...fb02aa59

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

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


More information about the hotspot-compiler-dev mailing list