OSDN Git Service

target/arm: Implement SMSTART, SMSTOP
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Jun 2022 17:51:54 +0000 (10:51 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jun 2022 10:18:17 +0000 (11:18 +0100)
commitf84734b87461fbf3ab349399f7936de832e477ed
tree8e01b2d6aa8fbee65dfa25fcdb45a27ef285f9db
parentdc993a01a75295c505ef1ff8764c68f31089fcc7
target/arm: Implement SMSTART, SMSTOP

These two instructions are aliases of MSR (immediate).
Use the two helpers to properly implement svcr_write.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220620175235.60881-11-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper-sme.h [new file with mode: 0644]
target/arm/helper.c
target/arm/helper.h
target/arm/meson.build
target/arm/sme_helper.c [new file with mode: 0644]
target/arm/translate-a64.c