RFR: 8362504: AArch64: Replace MOVZ+MOVK+MOVK with ADRP+ADD
Andrew Dinn
adinn at openjdk.org
Wed Aug 20 11:18:41 UTC 2025
On Wed, 20 Aug 2025 08:44:30 GMT, Andrew Haley <aph at openjdk.org> wrote:
> OK, so we should not commit this patch. it's not worth it.
I think Andrew is right that the gain here is too small to justify the extra complexity this adds, including for AOT code. There is no clear performance difference between the two variants across different micro-architectures. The saving in instruction count is real but is not going to be very significant (pointer moves are rare and not all of them will be susceptible to this optimization).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26653#issuecomment-3205716082
More information about the hotspot-dev
mailing list