diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-10-09 21:53:20 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-10-31 22:20:46 +0100 |
commit | 5dbe90bba778c6ffcd0c7991ec67c4e7469e1c09 (patch) | |
tree | 60c3f2a2e21aba87234e320d7e52653306fd0db7 /aes.c | |
parent | 4a587b2ccb336e36817712ab21c513e35baa0eca (diff) | |
download | hqemu-5dbe90bba778c6ffcd0c7991ec67c4e7469e1c09.zip hqemu-5dbe90bba778c6ffcd0c7991ec67c4e7469e1c09.tar.gz |
target-mips: fix FPU exceptions
For each FPU instruction that can trigger an FPU exception, to call
call update_fcr31() after.
Remove the manual NaN assignment in case of float to float operation, as
softfloat is already taking care of that. However for float to int
operation, the value has to be changed to the MIPS one. In the cvtpw_ps
case, the two registers have to be handled separately to guarantee
a correct final value in both registers.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'aes.c')
0 files changed, 0 insertions, 0 deletions