cpu-o3: Fix parenthesis in condition
The commit which removed the templates from fetch [1] made a mistake in removing parentheses in a condition to get a line under 80 characters. With this change, the O3 Arm tests pass again. [1] https://gem5-review.googlesource.com/c/public/gem5/+/42109 Change-Id: I3c224c59a05f08b0639aadb913401a719a82e26f Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/46039 Maintainer: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Gabe Black <gabe.black@gmail.com> Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Jason Lowe-Power
parent
4b51d278ec
commit
ee9ea5f978
@@ -1151,7 +1151,7 @@ Fetch::fetch(bool &status_change)
|
||||
else
|
||||
++fetchStats.miscStallCycles;
|
||||
return;
|
||||
} else if (checkInterrupt(thisPC.instAddr() && !delayedCommit[tid])) {
|
||||
} else if (checkInterrupt(thisPC.instAddr()) && !delayedCommit[tid]) {
|
||||
// Stall CPU if an interrupt is posted and we're not issuing
|
||||
// an delayed commit micro-op currently (delayed commit
|
||||
// instructions are not interruptable by interrupts, only faults)
|
||||
|
||||
Reference in New Issue
Block a user