]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 2 Jul 2025 20:21:10 +0000 (23:21 +0300)
commited4bad29e7dd437f7a8168dbe04b15909d945de9
tree69adebd93679ed8eca52a6732e8080a8c90065e1
parent22909a1397ad9679f0ffaba3016a3420ace2da21
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>
(cherry picked from commit 9a3bf0e0ab628de7051b41a88c4628aa9e4d311b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/arm/tcg/translate-a64.c