Request for review(XXS): 6984056: C1: incorrect code for integer constant addition on x64
Vladimir Kozlov
vladimir.kozlov at oracle.com
Fri Sep 10 20:03:58 PDT 2010
Looks good.
Vladimir
On 9/10/10 7:37 PM, Igor Veresov wrote:
> C1 generates incorrect code for addition of a constant to an int. Instead of emitting a 32bit arithmetic operation it
> does 64bit. That causes usage of the upper bits instead of overflowing, which causes incorrect results.
>
> Tested with the failing nightly test.
>
> Webrev: http://cr.openjdk.java.net/~iveresov/6984056/webrev.00/
>
>
> Thanks,
> igor
More information about the hotspot-compiler-dev
mailing list