RFR: 8276108: Wrong instruction generation in aarch64 backend [v2]

Andrew Haley aph at openjdk.java.net
Thu Nov 25 12:33:09 UTC 2021


On Wed, 24 Nov 2021 13:36:41 GMT, Patric Hedlin <phedlin at openjdk.org> wrote:

> The implementation of 'lea' does not seem to handle scale (for base_plus_offset). Am I missing something?

No, you aren't! Good point. Please add an assertion to `Address::lea (base_plus_offset)` that the shift is zero.

Let this patch stand, then I withdraw my objection.

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

PR: https://git.openjdk.java.net/jdk/pull/6212


More information about the hotspot-compiler-dev mailing list