cpu-o3: Missing freeing the heads of DepGraph in IQ squashing
authorHanhwi Jang <jang.hanhwi@gmail.com>
Sat, 20 Jan 2018 14:55:27 +0000 (23:55 +0900)
committerHanhwi Jang <jang.hanhwi@gmail.com>
Tue, 24 Jul 2018 00:52:51 +0000 (00:52 +0000)
commitcfc3a3a628a4de7e0da8287351c5f37a5c053e14
tree018e6b6def43b41caae26932924db5ab3ced4dff
parent385f799fe23928cfd15580c3ad2a034119c5648e
cpu-o3: Missing freeing the heads of DepGraph in IQ squashing

Free the squahsed instructions' heads of DepGraph in IQ squashing

In a system with large register file (ex.2048), the number of
DynInst hits the hardcoded limit (1500). This is caused by
missing freeing the heads of DepGraph in IQ. IQ only clears
out the heads when instructions reach writeback stage.
If a instruction is squashed before writeback stage, its head of
dependency graph, which holds the instruction's DynInstPtr,
would not be cleared out. This prevents freeing the DynInst of the
squahsed instruction even after it is committed.

Change-Id: I05b3db93cb6ad8960183d7ae765149c7f292e5b3
Reviewed-on: https://gem5-review.googlesource.com/7481
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/o3/inst_queue_impl.hh