|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [RFC PATCH 2/3] target/ppc: Use FP CR1 update helper more widely |
Date: | Wed, 13 Sep 2023 08:19:58 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 |
On 13/9/23 02:58, Nicholas Piggin wrote:
Several places open-code this FP CR1 update. Move them to call gen_set_cr1_from_fpscr(). FPSCR_OX = 28 so move that to the symbolic constant while we are here. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- target/ppc/translate/fp-impl.c.inc | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |