mipt-mips
mipt-mips copied to clipboard
Implement delayed branches in PerfSim
Follows #626 and #613.
Delayed branches should be supported by PerfSim as well. The idea is not quite simple:
- [ ] branch misprediction should not cancel previous instruction (or instructions, if branch slot is 2 or more).
- [ ] branch prediction should affect not the next instruction, but the instruction one to the next
- [ ] there might be problems with sequence id and other related things.