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