Integrated: 8293329: x86: Improve handling of constants in AES/GHASH stubs

Vladimir Ivanov vlivanov at openjdk.org
Mon Sep 12 22:55:55 UTC 2022


On Fri, 2 Sep 2022 23:24:32 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> Pre-generating constants saves on startup and static/dynamic footprint a bit, plus simplifies bootstrapping logic. 
> 
> As a downside, constants aren't guaranteed to be always reachable anymore, but since they are used from stubs, finding a scratch register when needed is not a problem.
> 
> Testing: 
> - [x] hs-tier1 - hs-tier4 w/ `-XX:+ForceUnreachable` 
> - [x] x86_32 build

This pull request has now been integrated.

Changeset: 155b10ae
Author:    Vladimir Ivanov <vlivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/155b10ae86efa6543d3192e201d14f1e06c3e39d
Stats:     503 lines in 6 files changed: 152 ins; 227 del; 124 mod

8293329: x86: Improve handling of constants in AES/GHASH stubs

Reviewed-by: kvn

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

PR: https://git.openjdk.org/jdk/pull/10152


More information about the hotspot-dev mailing list