This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
long in java is 64-bit, and 32-bit register value should be sign extended. We override Register.get() in Isa to do sign extension for Ia32 and PPC(32-bit platforms). 2006-09-06 Yao Qi <qiyaoltc@cn.ibm.com> * IsaPPC.java (get): Sign extend 32-bit value to 64-bit. * IsaIA32.java (get): Likewise. * TestRegs.java: Test sign extension on I386. * Syscall.java (printReturn): Do not cast returnCode to int. 2006-09-05 Yao Qi <qiyaoltc@cn.ibm.com> * funit-ia32-regs.S (main): Set %edx to -4 for sign extension test. Please review this patch, and comments are welcome. Thanks! -- Yao Qi
Attachment:
SignExtend.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |