ppc: Use FPSCR defines instead of constants
commit5c94dd3806b6cd4a9540a818ee87c335804bdc38
authorPaul A. Clarke <pc@us.ibm.com>
Wed, 18 Sep 2019 14:32:49 +0000 (18 09:32 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 4 Oct 2019 00:25:23 +0000 (4 10:25 +1000)
tree4979d236e97da725482ef8b55ea4a17d95f7539a
parentbc7a45ab88281bbced8ebe9fb87d518102b22519
ppc: Use FPSCR defines instead of constants

There are FPSCR-related defines in target/ppc/cpu.h which can be used in
place of constants and explicit shifts which arguably improve the code a
bit in places.

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
Message-Id: <1568817169-1721-1-git-send-email-pc@us.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/dfp_helper.c
target/ppc/fpu_helper.c