On 11/10/20 2:53 AM, LemonBoy wrote:
> The PowerISA reference states that the comparison operators update the
> FPCC, CR and FPSCR and, if VE=1, jump to the exception handler.
> 
> Moving the exception-triggering code after the CC update sequence solves
> the problem.
> 
> Signed-off-by: Giuseppe Musacchio <thatle...@gmail.com>
> ---
>  target/ppc/fpu_helper.c | 28 ++++++++++++++--------------
>  1 file changed, 14 insertions(+), 14 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to