qemu-cr16/target/ppc
BALATON Zoltan 27a3ea7eff target/ppc: Fix msync to do what hardware does
According to BookE docs, invalid bits (while undefined behaviour) should
not raise exception but be ignored. This seems to be implementation
dependent though and QEMU currently does what e500 CPUs do and raise
exception for invalid bits. Unfortunately some versions of libstdc++
(and so all programs compiled with it) have lwsync on PPC440 which is
invalid but on real hardware it's just executed as msync ignoring the
invalid bits (maybe that's why it got undetected) but they fail on QEMU.
This patch changes invalid mask of msync to allow these programs to run
but keep generating exception on e500 cores to follow what hardware does.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-02-17 21:54:02 +11:00
..
translate target/ppc: move FP and VMX registers into aligned vsr register array 2019-01-09 09:28:14 +11:00
arch_dump.c target/ppc: move FP and VMX registers into aligned vsr register array 2019-01-09 09:28:14 +11:00
compat.c
cpu-models.c target/ppc/cpu-models: Re-group the 970 CPUs together again 2018-09-25 11:12:25 +10:00
cpu-models.h
cpu-qom.h target/ppc: Enable reporting of SPRs to GDB 2019-02-17 21:54:02 +11:00
cpu.c
cpu.h target/ppc: Enable reporting of SPRs to GDB 2019-02-17 21:54:02 +11:00
dfp_helper.c
excp_helper.c ppc: add DBCR based debugging 2018-08-21 14:28:45 +10:00
fpu_helper.c target/ppc: Split out float_invalid_cvt 2018-11-08 12:04:40 +11:00
gdbstub.c target/ppc: Enable reporting of SPRs to GDB 2019-02-17 21:54:02 +11:00
helper.h target/ppc: add external PID support 2018-11-08 12:04:40 +11:00
helper_regs.h
int_helper.c target/ppc: remove various HOST_WORDS_BIGENDIAN hacks in int_helper.c 2019-02-04 18:44:20 +11:00
internal.h target/ppc: implement complete set of Vsr* macros 2019-02-04 18:44:18 +11:00
kvm-stub.c
kvm.c target/ppc/kvm: Drop useless include directive 2019-02-04 18:44:17 +11:00
kvm_ppc.h ppc/spapr_caps: Add SPAPR_CAP_NESTED_KVM_HV 2018-11-08 13:08:35 +11:00
machine.c target/ppc: move FP and VMX registers into aligned vsr register array 2019-01-09 09:28:14 +11:00
Makefile.objs
mem_helper.c target/ppc: add external PID support 2018-11-08 12:04:40 +11:00
mfrom_table.inc.c
mfrom_table_gen.c
misc_helper.c
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c
mmu-hash64.h
mmu-radix64.c
mmu-radix64.h
mmu_helper.c target/ppc: add external PID support 2018-11-08 12:04:40 +11:00
monitor.c target/ppc: move FP and VMX registers into aligned vsr register array 2019-01-09 09:28:14 +11:00
timebase_helper.c
trace-events
translate.c target/ppc: Fix msync to do what hardware does 2019-02-17 21:54:02 +11:00
translate_init.inc.c target/ppc: Enable reporting of SPRs to GDB 2019-02-17 21:54:02 +11:00
user_only_helper.c