Skip to content
Commit 68a1ac19 authored by Petar Jovanovic's avatar Petar Jovanovic Committed by Michael Roth
Browse files

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: default avatarPetar Jovanovic <petar.jovanovic@imgtec.com>
Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit 4d66261f)

Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 08dde5b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment