diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2013-11-29 17:27:42 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2014-02-20 21:59:18 -0600 |
commit | b9cabc36a20a43a5b96686a1df47984ff983c395 (patch) | |
tree | de2a790f36b03f4e747fa4da8125b2daee004908 /hw/gpio/zaurus.c | |
parent | 03bc4f66280023cba17f8cdbd3a5b6589db343be (diff) |
target-mips: fix 64-bit FPU config for user-mode emulation
FR bit should be initialized to 1 for MIPS64, under condition that this
bit is writable and that CPU has an FPU unit. It should be initialized to
zero for MIPS32.
This fixes different MIPS32 issues with FPU instructions whose behaviour
defaulted to 64-bit FPU mode.
Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit 4d66261f71f2efa31e1052e4041c5ee505572fe5)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/gpio/zaurus.c')
0 files changed, 0 insertions, 0 deletions