arch-arm: ELUsingAArch32K from armarm pseudocode
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 3 Jan 2018 11:01:17 +0000 (11:01 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 7 Feb 2018 15:06:50 +0000 (15:06 +0000)
commit465705e18087a22caec9cacc2c538a86014aff19
treebc8616b6f6680cf8a8f48afc244faeb4740508ce
parentd7062b1273dfcfac0690dff88470c4ebf28f09c1
arch-arm: ELUsingAArch32K from armarm pseudocode

This patch implements the ELUsingAArch32K pseudocode, which is returning
true if the provided Exception Level is using A32 ISA, but it is not
panicking (quitting simulation) if the information is unknown (see
documentation).
The panicking is the current behaviour of the ELIs32 utility in gem5.

Change-Id: Iad7b56077d7e0f8ee223b5b9593cb8097f26bb29
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/7222
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/utility.cc
src/arch/arm/utility.hh