Integrated: 8288992: AArch64: CMN should be handled the same way as CMP

Andrew Haley aph at openjdk.org
Wed Jul 6 13:53:22 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()`.

This pull request has now been integrated.

Changeset: cc2b7927
Author:    Andrew Haley <aph at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cc2b79270445ccfb2181894fed2edfd4518a2904
Stats:     9 lines in 2 files changed: 3 ins; 0 del; 6 mod

8288992: AArch64: CMN should be handled the same way as CMP

Reviewed-by: adinn, ngasson

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

PR: https://git.openjdk.org/jdk/pull/9246


More information about the hotspot-dev mailing list