RFR: 8288992: AArch64: CMN should be handled the same way as CMP
Nick Gasson
ngasson at openjdk.org
Mon Jul 4 14:12:46 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()`.
I tested tier1-3.
-------------
Marked as reviewed by ngasson (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9246
More information about the hotspot-dev
mailing list