[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 03e6e5: MIPS/user: Fix reset CPU state initia
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 03e6e5: MIPS/user: Fix reset CPU state initialization |
Date: |
Fri, 07 Sep 2012 17:00:18 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 03e6e5017757645f00b2f3b4f3a257973985e455
https://github.com/qemu/qemu/commit/03e6e5017757645f00b2f3b4f3a257973985e455
Author: Maciej W. Rozycki <address@hidden>
Date: 2012-09-07 (Fri, 07 Sep 2012)
Changed paths:
M target-mips/cpu.h
M target-mips/op_helper.c
M target-mips/translate.c
Log Message:
-----------
MIPS/user: Fix reset CPU state initialization
This change updates the CPU reset sequence to use a common piece of code
that figures out CPU state flags, fixing the problem with MIPS_HFLAG_COP1X
not being set where applicable that causes floating-point MADD family
instructions (and other instructions from the MIPS IV FP subset) to trap.
As compute_hflags is now shared between op_helper.c and translate.c, the
function is now moved to a common header. There are no changes to this
function.
The problem was seen with the 24Kf MIPS32r2 processor in user emulation.
The new approach prevents system and user emulation from diverging -- all
the hflags state is initialized in one place now.
Signed-off-by: Maciej W. Rozycki <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 03e6e5: MIPS/user: Fix reset CPU state initialization,
GitHub <=