RFR: 8319690: [AArch64] C2 compilation hits offset_ok_for_immed: assert "c2 compiler bug" [v3]
Fei Gao
fgao at openjdk.org
Thu Jun 6 12:42:50 UTC 2024
On Wed, 5 Jun 2024 13:38:37 GMT, Andrew Haley <aph at openjdk.org> wrote:
> Oh, I see. I really don't think that matters. Current AArch64 processors often add an extra cycle anyway for offsetted addresses, so all we'd add is a slight code size expansion for misaligned loads.
Sorry, did you mean loading from base plus offset, like `ldr x0, [x6, #8]` or `ldr x0, [x6, x7]`, takes one more cycle than loading from base register only, like `ldr x0, [x6]`? Does the address addition take one cycle? Thanks.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16991#issuecomment-2152307490
More information about the hotspot-compiler-dev
mailing list