qemu-e2k/target-ppc
Alexander Graf 8e33944f8c PPC: Unify dcbzl code path
The bit that makes a dcbz instruction a dcbzl instruction was declared as
reserved in ppc32 ISAs. However, hardware simply ignores the bit, making
code valid if it simply invokes dcbzl instead of dcbz even on 750 and G4.

Thus, mark the bit as unreserved so that we properly emulate a simple dcbz
in case we're running on non-G5s.

While at it, also refactor the code to check the 970 special case during
runtime. This way we don't need to differenciate between a 970 dcbz and
any other dcbz anymore. We also allow for future improvements to add e500mc
dcbz handling.

Reported-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-02-01 01:52:02 +01:00
..
cpu-qom.h target-ppc: Slim conversion of model definitions to QOM subclasses 2013-01-07 17:37:11 +01:00
cpu.h PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00
excp_helper.c PPC: Bring EPR support closer to reality 2013-01-07 17:37:11 +01:00
fpu_helper.c ppc: Add missing break 2012-06-24 01:04:43 +02:00
helper_regs.h
helper.h PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00
int_helper.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
kvm_ppc.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
kvm_ppc.h PPC: KVM: Add support for EPR with KVM 2013-01-18 19:06:57 +01:00
kvm.c kvm: Create kvm_arch_vcpu_id() function 2013-01-27 14:34:26 +01:00
machine.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
Makefile.objs target-ppc: Slim conversion of model definitions to QOM subclasses 2013-01-07 17:37:11 +01:00
mem_helper.c PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00
mfrom_table_gen.c
mfrom_table.c
misc_helper.c ppc: Move misc helpers from helper.c to misc_helper.c 2012-06-24 01:04:43 +02:00
mmu_helper.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
STATUS
timebase_helper.c ppc: Avoid AREG0 for timebase helpers 2012-06-24 01:04:43 +02:00
translate_init.c PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00
translate.c PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00