diff options
author | Ke Meng <mengke97@hotmail.com> | 2008-01-14 11:47:32 -0500 |
---|---|---|
committer | Ke Meng <mengke97@hotmail.com> | 2008-01-14 11:47:32 -0500 |
commit | 0b6876a0c0a999410311e0397d366a47728d749a (patch) | |
tree | c0de8c76dff0105fd0aac13f5896163f1bea0403 /tests/quick/00.hello/ref | |
parent | c08b7802a9caa7823e75a71839bac14a65a3102b (diff) | |
download | gem5-0b6876a0c0a999410311e0397d366a47728d749a.tar.xz |
The reason is that the event is supposed to put the instructions ready to execute for next cycle. And the FUCompletion event has a lower priority than CPU tick event. It is called after the iew->tick() for current cycle has already been executed and the issueToExecuteQueue has already advanced this time. And assume the issueToExecuteLatency is 1, to catch up, the increasement should be made at access(-1) instead of access(0). Otherwise I found it could increase the actual op_latency of the instructions to execute by 1 cycle and potentially put the simulated CPU into a permanent idle state.
Signed-off by: Ali Saidi <saidi@eecs.umich.edu>
--HG--
extra : convert_revision : dafc16814383e8e8f8320845edf6ab2bcfed1e1d
Diffstat (limited to 'tests/quick/00.hello/ref')
0 files changed, 0 insertions, 0 deletions