diff options
| author | Mark Cave-Ayland | 2019-03-07 19:05:17 +0100 |
|---|---|---|
| committer | David Gibson | 2019-03-12 04:33:04 +0100 |
| commit | c82a8a8542bee54824ea83856d33ad7656570a06 (patch) | |
| tree | 3cbf9e2038b536eb50e4ff6c47ca05b18b5266bd /python | |
| parent | target/ppc: move Vsr* macros from internal.h to cpu.h (diff) | |
| download | qemu-c82a8a8542bee54824ea83856d33ad7656570a06.tar.gz qemu-c82a8a8542bee54824ea83856d33ad7656570a06.tar.xz qemu-c82a8a8542bee54824ea83856d33ad7656570a06.zip | |
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>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
