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.
Signed-off-by: Tiago Mück <email@example.com>
Reviewed-by: Daniel Carvalho <firstname.lastname@example.org>
Maintainer: Jason Lowe-Power <email@example.com>
Tested-by: kokoro <firstname.lastname@example.org>
4 files changed