diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-02 23:38:56 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-02 23:38:56 +0100 |
commit | 12536c28a74e3b1fd6f5d1213311c809f9ddf824 (patch) | |
tree | 1c9f2969a58bb1deadcad6a366e51173f3913c89 /qtmips_machine/peripheral.cpp | |
parent | e7343cdbb296f51ce83a7236441008c62bc2b52c (diff) | |
download | qtmips-12536c28a74e3b1fd6f5d1213311c809f9ddf824.tar.gz qtmips-12536c28a74e3b1fd6f5d1213311c809f9ddf824.tar.bz2 qtmips-12536c28a74e3b1fd6f5d1213311c809f9ddf824.zip |
Implement realistic hazard resolution for JR, JALR, BEQ, BNE, BLTZ, BGEZ instructions.
The previous code worked by chance only because decode has been fully
processed including forwarding from M and W before PC processing
started. But in real hardware the PC processing runs in parallel
with ALU and cannot read its results in the same cycle.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/peripheral.cpp')
0 files changed, 0 insertions, 0 deletions