RFR: 8288992: AArch64: CMN should be handled the same way as CMP
Andrew Dinn
adinn at openjdk.org
Mon Jul 4 13:58:40 UTC 2022
On Wed, 22 Jun 2022 17:03:42 GMT, Andrew Haley <aph at openjdk.org> wrote:
> At present, `cmp(r8, -1)` fails at compile time, but `cmn(r8, -1)` fails at runtime. We should fix cmn() to be the same as `cmp()`.
>
> After this change, it's much less likely that we'll be surprised by immediate overflows in `cmn()`.
Looks good.
-------------
Marked as reviewed by adinn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9246
More information about the hotspot-dev
mailing list