qemu-e2k/target/ppc
Mark Cave-Ayland c82a8a8542 target/ppc: introduce avr_full_offset() function
All TCG vector operations require pointers to the base address of the vector
rather than separate access to the top and bottom 64-bits. Convert the VMX TCG
instructions to use a new avr_full_offset() function instead of avr64_offset()
which can then itself be written as a simple wrapper onto vsr_full_offset().

This same function can also reused in cpu_avr_ptr() to avoid having more than
one copy of the offset calculation logic.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20190307180520.13868-5-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-03-12 14:33:04 +11:00
..
translate target/ppc: introduce avr_full_offset() function 2019-03-12 14:33:04 +11:00
arch_dump.c
compat.c
cpu-models.c
cpu-models.h
cpu-qom.h target/ppc: Implement large decrementer support for TCG 2019-03-12 12:07:49 +11:00
cpu.c
cpu.h target/ppc: introduce avr_full_offset() function 2019-03-12 14:33:04 +11:00
dfp_helper.c
excp_helper.c target/ppc: Move exception vector offset computation into a function 2019-03-12 14:33:04 +11:00
fpu_helper.c
gdbstub.c
helper_regs.h
helper.h
int_helper.c
internal.h target/ppc: move Vsr* macros from internal.h to cpu.h 2019-03-12 14:33:04 +11:00
kvm_ppc.h target/ppc/spapr: Enable H_PAGE_INIT in-kernel handling 2019-03-12 14:33:04 +11:00
kvm-stub.c
kvm.c target/ppc/spapr: Enable H_PAGE_INIT in-kernel handling 2019-03-12 14:33:04 +11:00
machine.c
Makefile.objs
mem_helper.c
mfrom_table_gen.c
mfrom_table.inc.c
misc_helper.c
mmu_helper.c
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c target/ppc: Implement large decrementer support for TCG 2019-03-12 12:07:49 +11:00
mmu-hash64.h
mmu-radix64.c
mmu-radix64.h
monitor.c
timebase_helper.c
trace-events
translate_init.inc.c target/ppc: Implement large decrementer support for TCG 2019-03-12 12:07:49 +11:00
translate.c target/ppc: introduce single fpr_offset() function 2019-03-12 14:33:04 +11:00
user_only_helper.c