arch-arm: Check if PAC is implemented before executing insts
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 25 Aug 2020 12:10:23 +0000 (13:10 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 28 Aug 2020 09:40:21 +0000 (09:40 +0000)
commitb50d61fb9ff5d94f401af98bb0b7f8e25d21d012
treeecbf27855d5c759b7f299d04a8d26b640dc5bf8d
parent6d15745532df2dd306ecc15bd0e9f79914be1682
arch-arm: Check if PAC is implemented before executing insts

If Armv8.3-PAuth (PAC) extension is not supported, most instrucions
will trigger an Undefined Instruction fault; except for a group of
them living in the HINT space; those should be treated as NOP.

Change-Id: Idec920ed15e0310ec9132a3cb3701cdb7e7cf9d1
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33455
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa/insts/pauth.isa