target/arm: Define syndrome function for MOPS exceptions
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Sep 2023 14:04:26 +0000 (15:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2023 15:07:14 +0000 (16:07 +0100)
commit31aaaddecb36c17eeeb991e2124de5132df18af9
tree55de24136a1a3e9ab0f62c24213dde5c485fad48
parent81466e4bad85b99493adb4535b16e8733ac1b72e
target/arm: Define syndrome function for MOPS exceptions

The FEAT_MOPS memory operations can raise a Memory Copy or Memory Set
exception if a copy or set instruction is executed when the CPU
register state is not correct for that instruction. Define the
usual syn_* function that constructs the syndrome register value
for these exceptions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230912140434.1333369-5-peter.maydell@linaro.org
target/arm/syndrome.h