OSDN Git Service

target/ppc: Check DEXCR on hash{st, chk} instructions
authorNicholas Miehlbradt <nicholas@linux.ibm.com>
Tue, 20 Dec 2022 04:23:30 +0000 (04:23 +0000)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 21 Dec 2022 17:17:55 +0000 (14:17 -0300)
commit4091fabfeb54f02762bdecba7344353c56533873
tree52a962304955c2977bc7ddf8073a57424152c708
parent395b5d5b455ac3f6ebf9534454b7187a1d6118a4
target/ppc: Check DEXCR on hash{st, chk} instructions

Adds checks to the hashst and hashchk instructions to only execute if
enabled by the relevant aspect in the DEXCR and HDEXCR.

This behaviour is guarded behind TARGET_PPC64 since Power10 is
currently the only implementation which has the DEXCR.

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Nicholas Miehlbradt <nicholas@linux.ibm.com>
Message-Id: <20221220042330.2387944-3-nicholas@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/excp_helper.c