mbox series

[PATCH-for-10.1,0/4] target/sparc: Spring cleanups around CPU features & LEON3

Message ID 20250325123927.74939-1-philmd@linaro.org
Headers show
Series target/sparc: Spring cleanups around CPU features & LEON3 | expand

Message

Philippe Mathieu-Daudé March 25, 2025, 12:39 p.m. UTC
Some LEON3 specific flags seems to be disableable, so list them.

Move HW specific code from CPU ENV one layer upper.

Philippe Mathieu-Daudé (4):
  target/sparc: Expose more CPU features
  target/sparc: Restrict SPARC64 specific features
  target/sparc: Log unimplemented ASI load/store accesses
  target/sparc: Move hardware fields from CPUSPARCState to SPARCCPU

 target/sparc/cpu.h             | 10 +++++-----
 target/sparc/cpu-feature.h.inc | 20 +++++++++++--------
 hw/sparc/leon3.c               | 35 +++++++++++++++++-----------------
 target/sparc/cpu.c             |  6 +++++-
 target/sparc/int32_helper.c    |  8 ++++++--
 target/sparc/ldst_helper.c     | 20 +++++++++++++------
 target/sparc/translate.c       | 10 ++++++++--
 7 files changed, 68 insertions(+), 41 deletions(-)