[PATCH] Bug fix in TemplateTable::iop2 (JDK9 aarch32)
Edward Nevill
edward.nevill at gmail.com
Tue Dec 29 17:26:09 UTC 2015
Hi Xiang,
Thanks for finding this.
Interestingly, the 64 bit shifts were correct, but there were
// FIXME - Is this correct?
next to them. I have pushed your fix and removed the FIXMEs also.
This is one of those differences between C and Java that seems to crop up in every port.
All the best,
Ed.
On Tue, 2015-12-29 at 21:21 +0800, Xiang Yuan wrote:
> Hi, All:
> Our team fix a bug in JDK9 aarch32 template interpreter, the detail is
> described below:
>
> *Test Case:*
> /***************code start***************/
> public class Iop2 {
> public static void main(String args[]) {
> int shift_bits = 36; //0x24, 0b00100100
> int data = 0x87654321;
>
> System.out.println(Integer.toHexString(data <<
> shift_bits));
> System.out.println(Integer.toHexString(data >>
> shift_bits));
> System.out.println(Integer.toHexString(data >>>
> shift_bits));
> }
> }
More information about the aarch32-port-dev
mailing list