SPARC64 is always big-endian, so use the '_be' suffix to
select the big-endian variant of the load/store helper.
Simplify gdbstub using ldn(TARGET_LONG_BITS...).
Philippe Mathieu-Daudé (6):
hw/sparc: Use explicit big-endian LD/ST API
target/sparc: Simplify gdbstub sparc_cpu_gdb_write_register()
target/sparc: Inline translator_ldl()
target/sparc: Use address_space_ld/st[n]_be() in ld/st_asi helpers
target/sparc: Use explicit big-endian LD/ST API
configs/targets: Forbid SPARC64 to use legacy native endianness API
configs/targets/sparc64-softmmu.mak | 1 -
hw/sparc/leon3.c | 42 +++++++++++-----------
hw/sparc/sun4m.c | 6 ++--
hw/sparc64/sun4u.c | 6 ++--
target/sparc/gdbstub.c | 12 ++-----
target/sparc/ldst_helper.c | 54 ++++++-----------------------
target/sparc/mmu_helper.c | 30 ++++++++--------
target/sparc/translate.c | 2 +-
8 files changed, 56 insertions(+), 97 deletions(-)
--
2.52.0