qemu/tests/tcg/ppc64le
Matheus Ferst 66c6b40aba linux-user/ppc: Fix XER access in save/restore_user_regs
We should use cpu_read_xer/cpu_write_xer to save/restore the complete
register since some of its bits are in other fields of CPUPPCState. A
test is added to prevent future regressions.

Fixes: da91a00f19 ("target-ppc: Split out SO, OV, CA fields from XER")
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211014223234.127012-2-matheus.ferst@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2021-10-21 11:42:47 +11:00
..
bcdsub.c
byte_reverse.c tests/tcg/ppc64le: tests for brh/brw/brd 2021-05-18 09:36:21 +01:00
Makefile.target linux-user/ppc: Fix XER access in save/restore_user_regs 2021-10-21 11:42:47 +11:00
signal_save_restore_xer.c linux-user/ppc: Fix XER access in save/restore_user_regs 2021-10-21 11:42:47 +11:00