cpu: MinorCPU handling IsSquashAfter flag
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 8 Nov 2017 11:24:58 +0000 (11:24 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 5 Feb 2018 09:44:22 +0000 (09:44 +0000)
commit0c208d94cac1f89a04a5adb242327fa9fd13d70e
treebd6ac77f925cd6348440aa5bdc3c235c91df2de6
parenteea11aedcfe18b29d6e63243bc1acb51441ef523
cpu: MinorCPU handling IsSquashAfter flag

MinorCPU was not handling IsSquashAfter flagged instructions. The
behaviour was to force a branch (hence enforcing refetching) for
SerializeAfter instructions only. This has now been extended to
SquashAfter in order to correctly support ISB barrier instruction
behaviour.

Change-Id: Ie525b23350b0de121372d3b98b433e36b097d5c4
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5702
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/cpu/minor/execute.cc