cpu-o3: fix IQ missing mem barriers
authorTiago Mück <tiago.muck@arm.com>
Fri, 29 May 2020 02:36:40 +0000 (21:36 -0500)
committerTiago Mück <tiago.muck@arm.com>
Tue, 2 Jun 2020 18:39:14 +0000 (18:39 +0000)
commit8c47c0dd63f495a058e3a25906a39a352113c2a6
tree64c05391910a6c30cc98618cfcd487d7c84c0397
parent43512da4b2530bf1afd0f2a7c223add8df07cb23
cpu-o3: fix IQ missing mem barriers

After commit e2a5063e5f18f902833c84894b0ff103e3371493 some
memory references now tracked as barriers were not having
their completion properly notified to the MemDepUnit.

This patch fixes InstructionQueue and changes MemDepUnit's
completeBarrier to completeInst, which now should be called
for both memory references and barrier instructions.

Change-Id: I28b5f112b45778f6272e71bb3766b364c3d2e7db
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29654
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/o3/inst_queue.hh
src/cpu/o3/inst_queue_impl.hh
src/cpu/o3/mem_dep_unit.hh
src/cpu/o3/mem_dep_unit_impl.hh