Abhishek,
You can scan the memory dependency predictor (mem_dep_unit.hh) for
entries that 1) Relate to loads 2) Have the regReady field set to true
(means that source registers are ready but it may depend on a previous
store, depending on the memDepReady field).
Otherwise you can look at inst->readyToIssue(), that will be true if
both source registers are ready and the the memory dependency is satisfied.
Hope it helps,
Arthur Perais.
Le 01/09/2015 06:34, Abhishek Rajgadia a écrit :
Dear All,
I am new to gem5. I am trying to figure out if memory instructions in
the instruction queue have those registers ready which are used for
effective address calculation.
How to perform this check?
--
Regards,
Abhishek Rajgadia
Electrical Engineering,
IIT Bombay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Arthur Perais
INRIA Bretagne Atlantique
Bâtiment 12E, Bureau E303, Campus de Beaulieu
35042 Rennes, France
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users