News for hackers. Stuff that matters.
Re:Branch Privilege Injection: Exploiting branch predictor r... by grumbelbart2 on Wednesday May 14, 2025 @03:56AM (#43982052)
There is of course a slight chicken-egg-thing here: If there was no (dynamic) branch prediction, we (as in compilers) would emit different code that is faster for non-predicting CPUs (and presumably slower for predicting CPUs). That would mitigate a bit of that 10x.
Re:Branch Privilege Injection: Exploiting branch predictor r... by anyfoo on Wednesday May 14, 2025 @06:12PM (#43989729)
A bit. I think we've shown time and time again that letting the compiler do what the CPU is doing doesn't work out, most recently with Itanium.