News for hackers. Stuff that matters.
Re:Branch Privilege Injection: Exploiting branch predictor r... by tremon on Wednesday May 14, 2025 @10:20AM (#43984889)
But branch prediction doesn't necessarily need complicated logic. If I remember correctly (it's been 20 years since I read any papers on it), the simple heuristic "all relative branches backwards are taken, but forward and absolute branches are not" could achieve 70-80% performance of the state-of-the-art implementations back then.
Re:Branch Privilege Injection: Exploiting branch predictor r... by anyfoo on Wednesday May 14, 2025 @06:14PM (#43989740)
Do you mean overall or localized to branch prediction? Assuming all of that is true, you're talking about a 20-30% performance hit?