OSDN Git Service

target/arm: Inform helpers whether a PAC instruction is 'combined'
authorAaron Lindsay <aaron@os.amperecomputing.com>
Tue, 29 Aug 2023 23:23:31 +0000 (16:23 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Sep 2023 11:50:44 +0000 (12:50 +0100)
commit28b9dcb74bf709e4f18bc99da3e946849f9aef17
tree1ede1dd1d13994433b730c1fc21343a4a4e20181
parentc7c807f6dd6dbc382225d3e0eb35545ca3f50f86
target/arm: Inform helpers whether a PAC instruction is 'combined'

An instruction is a 'combined' Pointer Authentication instruction
if it does something in addition to PAC -- for instance, branching
to or loading an address from the authenticated pointer.

Knowing whether a PAC operation is 'combined' is needed to
implement FEAT_FPACCOMBINE.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Aaron Lindsay <aaron@os.amperecomputing.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230829232335.965414-9-richard.henderson@linaro.org
Message-Id: <20230609172324.982888-7-aaron@os.amperecomputing.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/helper-a64.h
target/arm/tcg/pauth_helper.c
target/arm/tcg/translate-a64.c