Integrated: 8292640: C2: Remove unused scratch register usages on x86
Vladimir Ivanov
vlivanov at openjdk.org
Tue Aug 23 20:28:55 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
This pull request has now been integrated.
Changeset: 926380d3
Author: Vladimir Ivanov <vlivanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/926380d3b748fd591f45abc99c497abc62c52565
Stats: 406 lines in 5 files changed: 22 ins; 28 del; 356 mod
8292640: C2: Remove unused scratch register usages on x86
Reviewed-by: kvn
-------------
PR: https://git.openjdk.org/jdk/pull/9933
More information about the hotspot-compiler-dev
mailing list