target-alpha: use new float64_unordered_quiet() function
commita4d2d1a063897b859b7f25e414b229370b679bc8
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 13 Apr 2011 22:49:29 +0000 (14 00:49 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 17 Apr 2011 18:32:14 +0000 (17 20:32 +0200)
tree35d2225f965da3fcfd64039da30388f0bfc32ca3
parentb4a0ef7911297567e17b56d96ae06d6283049630
target-alpha: use new float64_unordered_quiet() function

Use float64_unordered_quiet() in helper_cmptun() instead of doing the
the comparison manually.

According to the "Alpha Compiler Writer's Guide", we should use the
_quiet version here, as CMPTUN and CMPTEQ should generate InvalidOp
for SNaNs but not for QNaNs.

Thanks to Peter Maydell <peter.maydell@linaro.org> and Richard
Henderson <rth@twiddle.net> for digging into the manuals.

Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-alpha/op_helper.c