[PATCH v2 0/8] target/alpha: Use explicit little-endian LD/ST API

Philippe Mathieu-Daudé posted 8 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260106155755.53646-1-philmd@linaro.org
Maintainers: Laurent Vivier <laurent@vivier.eu>, Richard Henderson <richard.henderson@linaro.org>
configs/targets/alpha-linux-user.mak |  2 ++
configs/targets/alpha-softmmu.mak    |  2 ++
hw/alpha/dp264.c                     | 11 +++++------
hw/alpha/typhoon.c                   |  4 ++--
target/alpha/helper.c                | 28 +++++++++++++++++-----------
target/alpha/mem_helper.c            |  4 +++-
target/alpha/translate.c             | 13 +++++++++++--
7 files changed, 42 insertions(+), 22 deletions(-)
[PATCH v2 0/8] target/alpha: Use explicit little-endian LD/ST API
Posted by Philippe Mathieu-Daudé 1 month ago
Missing review: #5 & #6

Since v1: Add mo_endian() with comment

Alpha is little-endian. Use the explicit 'little'
endianness instead of the 'native' one.

Replace legacy ld/st_phys() calls. Forbid further
uses of legacy APIs.

Philippe Mathieu-Daudé (8):
  hw/alpha: Use explicit little-endian LD/ST API
  target/alpha: Use explicit little-endian LD/ST API
  target/alpha: Inline cpu_ldl_code() call in do_unaligned_access()
  target/alpha: Inline translator_ldl()
  target/alpha: Factor mo_endian() helper out
  target/alpha: Replace MO_TE -> MO_LE
  configs/targets: Forbid Alpha to use legacy native endianness APIs
  target/alpha: Replace legacy ld_phys() -> address_space_ld()

 configs/targets/alpha-linux-user.mak |  2 ++
 configs/targets/alpha-softmmu.mak    |  2 ++
 hw/alpha/dp264.c                     | 11 +++++------
 hw/alpha/typhoon.c                   |  4 ++--
 target/alpha/helper.c                | 28 +++++++++++++++++-----------
 target/alpha/mem_helper.c            |  4 +++-
 target/alpha/translate.c             | 13 +++++++++++--
 7 files changed, 42 insertions(+), 22 deletions(-)

-- 
2.52.0