base: Iterable CircularQueue implementation
The former implementation of CircleBuf is functional but a bit too tailored to match a use-case. This patches introduces a new iterable circular queue, which adds some more functionality so it can also be used for the newer LSQ implementation, where iteration and iterators are a very desirable feature. Additional contributors: Gabor Dozsa. Change-Id: I5cfb95c8abc1f5e566a114acdbf23fc52a38ce5e Signed-off-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/13127 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
This commit is contained in:
committed by
Giacomo Travaglini
parent
202a4c37ee
commit
2e8e51dcea
@@ -87,6 +87,7 @@ GTest('addr_range.test', 'addr_range.test.cc')
|
||||
GTest('addr_range_map.test', 'addr_range_map.test.cc')
|
||||
GTest('bitunion.test', 'bitunion.test.cc')
|
||||
GTest('circlebuf.test', 'circlebuf.test.cc')
|
||||
GTest('circular_queue.test', 'circular_queue.test.cc')
|
||||
|
||||
DebugFlag('Annotate', "State machine annotation debugging")
|
||||
DebugFlag('AnnotateQ', "State machine annotation queue debugging")
|
||||
|
||||
Reference in New Issue
Block a user