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

Aleksey Shipilev shade at openjdk.java.net
Wed Feb 23 07:16:47 UTC 2022


On Tue, 22 Feb 2022 15:37:33 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.
>
> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Copyright

Marked as reviewed by shade (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list