RFR: 8288992: AArch64: CMN should be handled the same way as CMP
Evgeny Astigeevich
duke at openjdk.org
Fri Jun 24 16:14:41 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()`.
lgtm
-------------
Marked as reviewed by eastig at github.com (no known OpenJDK username).
PR: https://git.openjdk.org/jdk/pull/9246
More information about the hotspot-dev
mailing list