On 7/27/25 1:02 AM, Richard Henderson wrote:
The ARM now defines 36 bits in SPSR_ELx in aarch64 mode, so
it's time to bite the bullet and extend PSTATE to match.

Most changes are straightforward, adjusting printf formats,
changing local variable types.  More complex is migration,
where to maintain backward compatibility a new pstate64
record is introduced, and only when one of the extensions
that sets bits 32-35 are active.

The fate of gdbstub is left undecided for the moment.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  target/arm/cpu.h            |  8 +++---
  target/arm/tcg/translate.h  | 20 ++++++-------
  target/arm/cpu.c            |  6 ++--
  target/arm/gdbstub64.c      |  1 +
  target/arm/helper.c         | 11 ++++----
  target/arm/machine.c        | 56 +++++++++++++++++++++++++++++++++++++
  target/arm/tcg/helper-a64.c |  2 +-
7 files changed, 81 insertions(+), 23 deletions(-)

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to