RFR(XS): 8202425: [s390] C2: Wrong unsigned comparison with 0

Aleksey Shipilev shade at redhat.com
Mon Apr 30 14:51:49 UTC 2018


On 04/30/2018 04:18 PM, Doerr, Martin wrote:
> compU_reg_imm0. It's used for unsigned comparison with 0, but it's implemented as signed
> comparison.

I am curious. Why do we care about signness when comparing to zero?

> http://cr.openjdk.java.net/~mdoerr/8202425_s390_cmpU0/webrev.00/

Looks good.

-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20180430/c01cfe96/signature.asc>


More information about the hotspot-compiler-dev mailing list