mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
MIPS FPU dynamic activation, part 1, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2463 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
54d43f70e3
commit
36d2395873
10 changed files with 95 additions and 130 deletions
|
|
@ -1838,9 +1838,9 @@ int main(int argc, char **argv)
|
|||
env->gpr[i] = regs->regs[i];
|
||||
}
|
||||
env->PC = regs->cp0_epc;
|
||||
#ifdef MIPS_USES_FPU
|
||||
env->CP0_Status |= (1 << CP0St_CU1);
|
||||
#endif
|
||||
if (env->CP0_Config1 & (1 << CP0C1_FP)) {
|
||||
env->CP0_Status |= (1 << CP0St_CU1);
|
||||
}
|
||||
}
|
||||
#elif defined(TARGET_SH4)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue