RFR: 8292640: C2: Remove unused scratch register usages on x86
Vladimir Kozlov
kvn at openjdk.org
Fri Aug 19 23:55:31 UTC 2022
On Thu, 18 Aug 2022 22:13:07 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> (PR is dependent on #9932.)
>
> Remove redundant scratch register usages in C2 generated code on x86.
>
> Stubs put constants in code cache, so they are RIP-relative addressable from generated code. It allows to save on scratch registers when accessing constants.
>
> Testing: hs-tier1 - hs-tier4
Good.
-------------
Marked as reviewed by kvn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9933
More information about the hotspot-compiler-dev
mailing list