mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Move the active FPU registers into env again, and use more TCG registers
to access them. Signed-off-by: Thiemo Seufer <ths@networkno.de> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5252 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a1cf28f469
commit
f01be15458
7 changed files with 338 additions and 322 deletions
|
@ -86,7 +86,7 @@ static inline void compute_hflags(CPUState *env)
|
|||
if (env->CP0_Status & (1 << CP0St_FR))
|
||||
env->hflags |= MIPS_HFLAG_F64;
|
||||
if (env->insn_flags & ISA_MIPS32R2) {
|
||||
if (env->fpu->fcr0 & (1 << FCR0_F64))
|
||||
if (env->active_fpu.fcr0 & (1 << FCR0_F64))
|
||||
env->hflags |= MIPS_HFLAG_COP1X;
|
||||
} else if (env->insn_flags & ISA_MIPS32) {
|
||||
if (env->hflags & MIPS_HFLAG_64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue