]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-mips: fix 64-bit FPU config for user-mode emulation
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Fri, 29 Nov 2013 16:27:42 +0000 (17:27 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 9 Dec 2013 20:42:33 +0000 (14:42 -0600)
commit68a1ac19a1a24bc47c8c6db1bca7026e2199cc32
treea9d26b2dce1e01164fe7e07ce3963450f906d394
parent08dde5b17b56d64c1536177866eafa98db4fba74
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>
target-mips/translate.c