Integrated: 8282231: x86-32: runtime call to SharedRuntime::ldiv corrupts registers
Andrew Haley
aph at openjdk.java.net
Wed Feb 23 10:18:52 UTC 2022
On Tue, 22 Feb 2022 13:34:03 GMT, Andrew Haley <aph at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: ecd85e6f
Author: Andrew Haley <aph at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ecd85e6f0f8906ad1e8aa0a53bf499e8c969ba73
Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
8282231: x86-32: runtime call to SharedRuntime::ldiv corrupts registers
Reviewed-by: shade, jiefu
-------------
PR: https://git.openjdk.java.net/jdk/pull/7575
More information about the hotspot-compiler-dev
mailing list