summaryrefslogtreecommitdiffstats
path: root/include/qapi
diff options
context:
space:
mode:
authorMatheus Ferst2021-08-26 16:56:56 +0200
committerDavid Gibson2021-08-27 04:43:13 +0200
commit0ff16b6b78831240c39cfaaeab1f22ae52c84b09 (patch)
tree907acc4fcefa00b77db3b267e9b56e95cd22758e /include/qapi
parentinclude/qemu/int128.h: introduce bswap128s (diff)
downloadqemu-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