securesystemslab / LLVM-MCA-Daemon

Other
11 stars 11 forks source link

Add naive branch predictor unit #29

Closed andrej closed 2 weeks ago

andrej commented 2 weeks ago

Works with the vivisect Broker only as other brokers don't add instruction address metadata currently. Look for messages like this in the debug output to see it in action:

[MCAD FetchDelayStage] Previous branch at bfca0 predicted correctly.
[MCAD FetchDelayStage] Previous branch at bfca0 mispredicted, delaying next instruction by 20 cycle(s).