diff options
author | Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br> | 2021-05-27 13:35:22 -0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-06-03 18:10:31 +1000 |
commit | fe43ba9721f36e47e09779682c3525659c6818f0 (patch) | |
tree | 0cad3444bbc0a426961d378e07e0a4c71576b88b /chardev/testdev.c | |
parent | 1a1c9a00f390e236eab910fdf0ab08df0be08890 (diff) | |
download | qemu-fe43ba9721f36e47e09779682c3525659c6818f0.zip qemu-fe43ba9721f36e47e09779682c3525659c6818f0.tar.gz qemu-fe43ba9721f36e47e09779682c3525659c6818f0.tar.bz2 |
target/ppc: overhauled and moved logic of storing fpscr
Followed the suggested overhaul to store_fpscr logic, and moved it to
cpu.c where it can be accessed in !TCG builds.
The overhaul was suggested because storing a value to fpscr should
never raise an exception, so we could remove all the mess that happened
with POWERPC_EXCP_FP.
We also moved fpscr_set_rounding_mode into cpu.c as it could now be moved
there, and it is needed when a value for the fpscr is being stored
directly.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210527163522.23019-1-bruno.larsen@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'chardev/testdev.c')
0 files changed, 0 insertions, 0 deletions