[aarch64-port-dev ] RFR: aarch64: 8133842: C2 generates illegal instructions with int shifts >=32

Andrew Haley aph at redhat.com
Thu Aug 20 16:04:51 UTC 2015

On 08/20/2015 04:55 PM, Vladimir Kozlov wrote:
> Changes are fine but I am curious why results will be the same even if you mask less bits

Java VM spec says:

The shift distance actually used is always in the range 0 to 31,
inclusive, as if value2 were subjected to a bitwise logical AND with
the mask value 0x1f.


More information about the hotspot-compiler-dev mailing list