Closed jiegec closed 1 month ago
Currently, the test results from master branch seems to be very different from the results in the CNC's articles .
Currently, the test results from master branch seems to be very different from the results in the CNC's articles .
Yes, the results after adding the extra alignment are like:
Thanks, alignment indeed matters here, and I see 20 return stack entries on Redwood Cove. I'll get this into the master branch. Currently I'm a bit busy with other changes
Increased padding between generated test functions and calls/returns
In Popping the Hood on Golden Cove, the return prediction behavior of Golden Cove seems weird: no clear jump up observed. This is possibly due to too many call/ret pairs in the same cache line. If an extra alignment directive is added so that the functions reside in different cache lines:
We can observe a clear jump up at ~20 calls:
This looks promising, since Sunny Cove has 17-entry RAS.