hg: hsx/hotspot-comp/hotspot: 6956668: misbehavior of XOR operator (^) with int
vladimir.kozlov at oracle.com
vladimir.kozlov at oracle.com
Tue May 31 12:42:50 PDT 2011
Changeset: 33e2b8f1d466
Author: kvn
Date: 2011-05-31 10:05 -0700
URL: http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/33e2b8f1d466
6956668: misbehavior of XOR operator (^) with int
Summary: optimize cmp_ne(xor(X,1),0) to cmp_eq(X,0) only for boolean values X.
Reviewed-by: never
! src/share/vm/opto/subnode.cpp
+ test/compiler/6956668/Test6956668.java
More information about the hotspot-compiler-dev
mailing list