[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-for-6.2 0/2] disas/nios2: Simplify endianess conversion
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH-for-6.2 0/2] disas/nios2: Simplify endianess conversion |
Date: |
Sat, 7 Aug 2021 13:09:37 +0200 |
After chatting with Richard Henderson and Paolo Bonzini, we
concluded the load/store API is mature enough to have target
code endianess-agnostic.
Thus we could remove the TARGET_WORDS_BIGENDIAN definition from
target-specific code (restricting it to the binary format loaders).
While experimenting, I noticed the Nios2 disassembler is an easy
win. MIPS will follow shortly.
Philippe Mathieu-Daudé (2):
disas/nios2: Fix style in print_insn_nios2()
disas/nios2: Simplify endianess conversion
include/disas/dis-asm.h | 3 +-
disas/nios2.c | 71 ++++++++++++++++-------------------------
target/nios2/cpu.c | 6 +---
3 files changed, 29 insertions(+), 51 deletions(-)
--
2.31.1
- [PATCH-for-6.2 0/2] disas/nios2: Simplify endianess conversion,
Philippe Mathieu-Daudé <=