Force proper sign extension for mfc0/mfhc0 on MIPS64.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3432 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-10-24 00:10:32 +00:00
parent 60445285a8
commit 6ad3872210
1 changed files with 2 additions and 2 deletions

View File

@ -2328,7 +2328,7 @@ void op_ctc1 (void)
void op_mfc1 (void)
{
T0 = WT0;
T0 = (int32_t)WT0;
DEBUG_FPU_STATE();
RETURN();
}
@ -2356,7 +2356,7 @@ void op_dmtc1 (void)
void op_mfhc1 (void)
{
T0 = WTH0;
T0 = (int32_t)WTH0;
DEBUG_FPU_STATE();
RETURN();
}