cpu: Use new InstRecord faulting flag in cpu models
authorMichiel W. van Tol <Michiel.VanTol@arm.com>
Wed, 10 Jun 2020 12:30:42 +0000 (13:30 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 22 Jun 2020 12:15:39 +0000 (12:15 +0000)
commit3fb1d091f5ef0496a12f369f5b5e3e8cce12bd5e
tree972767ed7bc33621cecb36c29c59b54860b87390
parent3853d785943cf93125ba296b64e24247d2f43e64
cpu: Use new InstRecord faulting flag in cpu models

This patch sets the faulting flag in atomic, timing, minor and o3 CPU
models.

It also fixes the minor/timing CPU models which were not respecting the
ExecFaulting flag. This is now checked before calling dump() on the
tracing object, to bring it in line with the other CPU models.

Change-Id: I9c7b64cc5605596eb7fcf25fdecaeac5c4b5e3d7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30135
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/minor/execute.cc
src/cpu/o3/commit_impl.hh
src/cpu/simple/atomic.cc
src/cpu/simple/base.cc
src/cpu/simple/base.hh
src/cpu/simple/timing.cc