From: Stuart B. <zu...@us...> - 2007-03-12 14:27:35
|
Update of /cvsroot/hppaqemu/hppaqemu/target-hppa In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv4875/target-hppa Modified Files: op.c translate.c Log Message: Correct decimal correction. Index: translate.c =================================================================== RCS file: /cvsroot/hppaqemu/hppaqemu/target-hppa/translate.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** translate.c 12 Mar 2007 14:08:32 -0000 1.15 --- translate.c 12 Mar 2007 14:27:29 -0000 1.16 *************** *** 1316,1320 **** gen_op_undef_insn(); else { ! gen_op_movl_T1_T0(); gen_op_dcor_T0(); } --- 1316,1320 ---- gen_op_undef_insn(); else { ! gen_op_copy_T0_T1(); gen_op_dcor_T0(); } *************** *** 1324,1328 **** gen_op_undef_insn(); else { ! gen_op_movl_T1_T0(); gen_op_idcor_T0(); } --- 1324,1328 ---- gen_op_undef_insn(); else { ! gen_op_copy_T0_T1(); gen_op_idcor_T0(); } Index: op.c =================================================================== RCS file: /cvsroot/hppaqemu/hppaqemu/target-hppa/op.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** op.c 12 Mar 2007 14:08:32 -0000 1.13 --- op.c 12 Mar 2007 14:27:29 -0000 1.14 *************** *** 719,742 **** void OPPROTO op_dcor_T0(void) { ! T0 -= (((0x6 * (1 - PSW_CB0)) << 4) | ! (((0x6 * (1 - PSW_CB1)) << 4) | ! (((0x6 * (1 - PSW_CB2)) << 4) | ! (((0x6 * (1 - PSW_CB3)) << 4) | ! (((0x6 * (1 - PSW_CB4)) << 4) | ! (((0x6 * (1 - PSW_CB5)) << 4) | ! (((0x6 * (1 - PSW_CB6)) << 4) | ! (((0x6 * (1 - PSW_CB7))))))))))); } void OPPROTO op_idcor_T0(void) { ! T0 += (((0x6 * PSW_CB0) << 4) | ! (((0x6 * PSW_CB1) << 4) | ! (((0x6 * PSW_CB2) << 4) | ! (((0x6 * PSW_CB3) << 4) | ! (((0x6 * PSW_CB4) << 4) | ! (((0x6 * PSW_CB5) << 4) | ! (((0x6 * PSW_CB6) << 4) | ! (((0x6 * PSW_CB7)))))))))); } --- 719,742 ---- void OPPROTO op_dcor_T0(void) { ! T0 -= (((0x6 * (1 - (env->psw & PSW_CB7))) << 4) | ! (((0x6 * (1 - (env->psw & PSW_CB6))) << 4) | ! (((0x6 * (1 - (env->psw & PSW_CB5))) << 4) | ! (((0x6 * (1 - (env->psw & PSW_CB4))) << 4) | ! (((0x6 * (1 - (env->psw & PSW_CB3))) << 4) | ! (((0x6 * (1 - (env->psw & PSW_CB2))) << 4) | ! (((0x6 * (1 - (env->psw & PSW_CB1))) << 4) | ! (((0x6 * (1 - (env->psw & PSW_CB0)))))))))))); } void OPPROTO op_idcor_T0(void) { ! T0 += (((0x6 * (env->psw & PSW_CB7)) << 4) | ! (((0x6 * (env->psw & PSW_CB6)) << 4) | ! (((0x6 * (env->psw & PSW_CB5)) << 4) | ! (((0x6 * (env->psw & PSW_CB4)) << 4) | ! (((0x6 * (env->psw & PSW_CB3)) << 4) | ! (((0x6 * (env->psw & PSW_CB2)) << 4) | ! (((0x6 * (env->psw & PSW_CB1)) << 4) | ! (((0x6 * (env->psw & PSW_CB0))))))))))); } |