ppc/translate: Delay NaN checking after comparison
commitbc92c260f6f0da73d3bdee5e1c2bf38d6f22e20a
authorGiuseppe Musacchio <thatlemon@gmail.com>
Thu, 12 Nov 2020 23:01:29 +0000 (13 00:01 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 14 Dec 2020 04:53:52 +0000 (14 15:53 +1100)
treeda1d5c4702c49ca4f74b04ec27b9b0f71d59657b
parent132954a8307635c08c8e3c4d63d4af9fa865a459
ppc/translate: Delay NaN checking after comparison

Since we always perform a comparison between the two operands avoid
checking for NaN unless the result states they're unordered.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Giuseppe Musacchio <thatlemon@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201112230130.65262-4-thatlemon@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/fpu_helper.c