diff options
| author | Matheus Ferst | 2021-08-26 16:56:56 +0200 |
|---|---|---|
| committer | David Gibson | 2021-08-27 04:43:13 +0200 |
| commit | 0ff16b6b78831240c39cfaaeab1f22ae52c84b09 (patch) | |
| tree | 907acc4fcefa00b77db3b267e9b56e95cd22758e /include/qapi | |
| parent | include/qemu/int128.h: introduce bswap128s (diff) | |
| download | qemu-0ff16b6b78831240c39cfaaeab1f22ae52c84b09.tar.gz qemu-0ff16b6b78831240c39cfaaeab1f22ae52c84b09.tar.xz qemu-0ff16b6b78831240c39cfaaeab1f22ae52c84b09.zip | |
target/ppc: fix vector registers access in gdbstub for little-endian
As vector registers are stored in host endianness, we shouldn't swap its
64-bit elements in user mode. Add a 16-byte case in
ppc_maybe_bswap_register to handle the reordering of elements in softmmu
and remove avr_need_swap which is now unused.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20210826145656.2507213-3-matheus.ferst@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/qapi')
0 files changed, 0 insertions, 0 deletions
