You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because our programs usually have lots of loops, the cold state of the branch direction predictor (GSHARE for Nax) should be TAKEN.
In the current state of affairs, we need to fill the GHB before we get correct TAKEN predictions in a loop.
Implementation
Got a ~2% performance gain on the small program I am actually working on (not a serious test, but an indication nonetheless)
Simulation
In GSharePlugin.scala, l71-73, replace the 0 default value with -1:
Rationale
Because our programs usually have lots of loops, the cold state of the branch direction predictor (GSHARE for Nax) should be TAKEN.
In the current state of affairs, we need to fill the GHB before we get correct TAKEN predictions in a loop.
Implementation
Got a ~2% performance gain on the small program I am actually working on (not a serious test, but an indication nonetheless)
Simulation
In GSharePlugin.scala, l71-73, replace the 0 default value with -1:
Targeting synthesis
Here I am not sure since we want to initialize a Mem value and I am only simulating.
My tentative, in GSharePlugin.scala, l39-41, replace with:
and add import
What's your opinion on this simple change ? I can create a merge request if need be.
The text was updated successfully, but these errors were encountered: