summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2014-03-25 14:35:18 +0100
committerAurelien Jarno <aurelien@aurel32.net>2014-03-25 23:36:35 +0100
commit7f6613cedc59fa849105668ae971dc31004bca1c (patch)
tree5d9243d510446d94a22d10e44af7c29f38bb16c2 /linux-user
parentb9bf8a1abb1cafe7184e3dbad9bf8819b3cb620a (diff)
downloadqemu-7f6613cedc59fa849105668ae971dc31004bca1c.tar.gz
target-mips: fix MTHC1 and MFHC1 when FPU in FR=0 mode
Previous implementation presumed that FPU registers are 64-bit and are working in 64-bit mode. This change first checks MIPS_HFLAG_F64 and if not set, it does load/store from the odd numbered register pair. Patch by Matthew Fortune. Signed-off-by: Matthew Fortune <matthew.fortune@imgtec.com> Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions