diff options
author | Matheus Ferst <matheus.ferst@eldorado.org.br> | 2021-08-26 11:56:56 -0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-08-27 12:43:13 +1000 |
commit | 0ff16b6b78831240c39cfaaeab1f22ae52c84b09 (patch) | |
tree | 907acc4fcefa00b77db3b267e9b56e95cd22758e /os-posix.c | |
parent | 2484cd9c777f6877b178901bcb26663c411fc231 (diff) | |
download | qemu-0ff16b6b78831240c39cfaaeab1f22ae52c84b09.zip qemu-0ff16b6b78831240c39cfaaeab1f22ae52c84b09.tar.gz qemu-0ff16b6b78831240c39cfaaeab1f22ae52c84b09.tar.bz2 |
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 'os-posix.c')
0 files changed, 0 insertions, 0 deletions