]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Make RETA[AB] UNDEF when pauth is not implemented
authorSolomon Tan <root@wjsota.com>
Tue, 1 Jul 2025 14:08:25 +0000 (15:08 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Jul 2025 14:08:25 +0000 (15:08 +0100)
commit9a3bf0e0ab628de7051b41a88c4628aa9e4d311b
tree125188bad528fd15a3851bb67b16e80694b77996
parenta89d18919e4b9a3f8bc67c43e4577ae76ff9ee41
target/arm: Make RETA[AB] UNDEF when pauth is not implemented

According to the Arm A-profile A64 Instruction Set Architecture,
RETA[AB] should be decoded as UNDEF if the pauth feature is not
implemented.

We got this right in the initial implementation, but accidentally
dropped the feature-check when we converted these insns to
decodetree.

Cc: qemu-stable@nongnu.org
Fixes: 0ebbe9021254f ("target/arm: Convert BRA[AB]Z, BLR[AB]Z, RETA[AB] to decodetree")
Signed-off-by: Solomon Tan <root@wjsota.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250616171549.59190-1-root@wjsota.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/translate-a64.c