diff options
author | Giuseppe Musacchio | 2020-11-13 00:01:30 +0100 |
---|---|---|
committer | David Gibson | 2020-12-14 05:53:59 +0100 |
commit | 91699dbf30a94dea2575ae193412c364c7f3a5fd (patch) | |
tree | 0075a2ec21ddc2c204d465255b18f6044ea2f773 /hw/intc/spapr_xive.c | |
parent | ppc/translate: Delay NaN checking after comparison (diff) | |
download | qemu-91699dbf30a94dea2575ae193412c364c7f3a5fd.tar.gz qemu-91699dbf30a94dea2575ae193412c364c7f3a5fd.tar.xz qemu-91699dbf30a94dea2575ae193412c364c7f3a5fd.zip |
ppc/translate: Raise exceptions after setting the cc
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 <thatlemon@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201112230130.65262-5-thatlemon@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/spapr_xive.c')
0 files changed, 0 insertions, 0 deletions