cpu: Fix issue with MinorCPU predicated-false mem. accesses
authorGiacomo Gabrielli <giacomo.gabrielli@arm.com>
Thu, 7 Nov 2019 09:37:25 +0000 (09:37 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 3 Jan 2020 08:17:22 +0000 (08:17 +0000)
commit68288f344bebff2e4fbfe63dcc84e166a423dd6c
treec908f10fdbbf98d823bbcb595e5b32052fedfd1b
parentbd32682445150c234f83872e135bc959247a4065
cpu: Fix issue with MinorCPU predicated-false mem. accesses

The code block was relying on passed_predicate only (conditional
execution). This was not covering the case where the instruction
gets executed, but the predicate register is false. Using the inLSQ
variable is covering both cases and it makes more sense in terms of
readibility.

Change-Id: Ie1954f37968379a5bda9d0dc9f824a68304cc229
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23280
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/minor/execute.cc