mirror of
https://github.com/qemu/qemu.git
synced 2024-11-23 19:03:38 +08:00
elf: Don't check FCR31_NAN2008 bit for nanoMIPS
nanoMIPS is always NaN2008 compliant, and rules for checking FCR31's NAN2008 bit are obsoleted. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Signed-off-by: Stefan Markovic <smarkovic@wavecomp.com>
This commit is contained in:
parent
56f26045dc
commit
722ac96cd6
@ -747,6 +747,9 @@ void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs)
|
||||
if (regs->cp0_epc & 1) {
|
||||
env->hflags |= MIPS_HFLAG_M16;
|
||||
}
|
||||
if (env->insn_flags & ISA_NANOMIPS32) {
|
||||
return;
|
||||
}
|
||||
if (((info->elf_flags & EF_MIPS_NAN2008) != 0) !=
|
||||
((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) {
|
||||
if ((env->active_fpu.fcr31_rw_bitmask &
|
||||
|
Loading…
Reference in New Issue
Block a user