RFR: 8320448: Accelerate IndexOf using AVX2 [v33]
Daniel Jeliński
djelinski at openjdk.org
Sun May 26 06:21:15 UTC 2024
On Fri, 24 May 2024 18:37:13 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Changed to `lea` with `InternalAddress()`. Generates the exact same code, but makes more sense. I looked at `movdqu` and see no code that generates RIP-relative loads. It merely checks `reachable()` and adds an intermediate `lea` if not reachable. @djelinski can you clarify please?
>
> I think HotSpot prefer to have full addresses in `lea` for possible patching.
Right. Our assembler implements rip-relative addressing for some instructions, but apparently lea isn't one of them.
I'll experiment with it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16753#discussion_r1615033502
More information about the hotspot-compiler-dev
mailing list