[PTLsim-devel] file stq bug

Krist Sun
Tue Oct 23 20:48:43 EDT 2007


Matt,

Thanks for you reply.

This is my code

inserted in renaming() after

    stats.ooocore.frontend.alloc.reg += (!(ld|st|br));
    stats.ooocore.frontend.alloc.ldreg += ld;
    stats.ooocore.frontend.alloc.sfr += st;
    stats.ooocore.frontend.alloc.br += br;

*   if(ld)
    {
        loads_in_flight++;
    }
    if(st)
    {
        stores_in_flight++;
    }
*Does it have the same effect as yours?

Also, you said the total number of stores and loads in flight are controled
by LSQ_SIZE?
I think they are controlled respectively by STQ_SIZE and LDQ_SIZE, because ,
assume load, during renaming, if loads_in_flight >= LDQ_SIZE, it breaks the
renaming  and won't go to LSQ.


Correct me if I am wrong. and I want to know how to control them separately
from ptlsim

Thanks!
Krist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://ptlsim.org/pipermail/ptlsim-devel/attachments/20071023/7befa8ba/attachment.htm 


More information about the PTLsim-devel mailing list