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?

Thanks,

Min
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to