summaryrefslogtreecommitdiffstats
path: root/target-mips
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-04-14 00:49:30 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-04-17 20:32:15 +0200
commit019702c8156ee442378a520b733d823c0c62072b (patch)
treeb19c4a7332d01901284d4d2bd9c55acd3d9148b6 /target-mips
parentf5a64251f2db2271970a1f4b7f8176d4de4dec91 (diff)
downloadhqemu-019702c8156ee442378a520b733d823c0c62072b.zip
hqemu-019702c8156ee442378a520b733d823c0c62072b.tar.gz
target-ppc: fix SPE comparison functions
efstst*() functions are fast SPE funtions which do not take into account special values (infinites, NaN, etc.), while efscmp*() functions are IEEE754 compliant. Given that float32_*() functions are IEEE754 compliant, the efscmp*() functions are correctly implemented, while efstst*() are not. This patch reverse the implementation of this two groups of functions and fix the comments. It also use float32_eq() instead of float32_eq_quiet() as qNaNs should not be ignored. Cc: Alexander Graf <agraf@suse.de> Cc: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud