RFR: 8287091: aarch64 : guarantee(val < (1ULL << nbits)) failed: Field too big for insn
Aleksey Shipilev
shade at openjdk.java.net
Tue May 24 09:06:50 UTC 2022
On Tue, 24 May 2022 09:03:32 GMT, Nick Gasson <ngasson at openjdk.org> wrote:
> > All right, so we just store the result to `zr`, which is effectively no-op, and ride on the updated flags done by `add*s*`.
>
> It's actually the same instruction: `cmn reg, imm` is an alias for `adds zr, reg, imm`.
Nice. Even better then.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8845
More information about the hotspot-compiler-dev
mailing list