UoB-HPC / SimEng

The University of Bristol HPC Simulation Engine
https://uob-hpc.github.io/SimEng
Apache License 2.0
93 stars 20 forks source link

Fixing LoopBuffer bug #421

Closed ABenC377 closed 3 months ago

ABenC377 commented 4 months ago

Updates how a LoopBuffer is begun; and how branch mispredicts are determined by the execute units.

This was motivated by the incorrect misprediction calculation in the execute. However, doing so resulted in a bug. The changes to when the LoopBuffer is used by the Fetch Unit fixes this bug.