arch-arm: Add Illegal Execution flag to PCState
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 29 May 2018 15:30:33 +0000 (16:30 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 14 Jun 2018 13:45:49 +0000 (13:45 +0000)
commitfe8faa62b74087febe227f69385db3e562682799
tree2ae38f63d387a49c048f3dc9f71f07eb70bce1ce
parent831184d2949fbd790a2040738079ca03c8cfdefe
arch-arm: Add Illegal Execution flag to PCState

This patch moves the detection of the Illegal Execution flag (PSTATE.IL)
from the tlb translation stage (fetch) to the decoding stage.  This is
done by adding the illegalExecution field to the PCState.

Change-Id: I9c1c4e9c6bd5ded905c1d56b3034e4e9322582fa
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10813
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/decoder.cc
src/arch/arm/faults.cc
src/arch/arm/insts/pseudo.cc
src/arch/arm/insts/pseudo.hh
src/arch/arm/isa.cc
src/arch/arm/isa/bitfields.isa
src/arch/arm/isa/decoder/decoder.isa
src/arch/arm/isa/formats/pseudo.isa
src/arch/arm/tlb.cc
src/arch/arm/types.hh