On Wed, July 27, 2011 9:54 am, Min Kyu Jeong wrote:
> Hi,
>
> I am getting an assertion in the rename stage of the O3.
>
> template <class Impl>
> void
> DefaultRename<Impl>::sortInsts()
> {
> int insts_from_decode = fromDecode->size;
> #ifdef DEBUG
> for (ThreadID tid = 0; tid < numThreads; tid++)
> assert(insts[tid].empty());
> #endif
> for (int i = 0; i < insts_from_decode; ++i) {
> DynInstPtr inst = fromDecode->insts[i];
> insts[inst->threadNumber].push_back(inst);
> }
> }
>
> The assertion is ifdef guarded by DEBUG, so it only occurs in the .debug
> binary. I get by with .opt and .fast just fine, so it happens only when I
> try to debug it. What is that assertion is for? Is it something need to be
> fixed?
>
Have you made any changes to gem5 source code? If yes, then I suggest that
you run unmodified gem5 and check whether or not the assertion still
fails. If you have not modified, then you should try to debug this using
gdb and post more information as you explore the issue.
--
Nilay
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev