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

Andrew Haley aph at openjdk.java.net
Tue Feb 22 15:37:33 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.

Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:

  Copyright

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7575/files
  - new: https://git.openjdk.java.net/jdk/pull/7575/files/1382812e..82423ef4

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7575&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7575&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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