Aah, right, that.
Comment on Linus Torvalds says RISC-V will make the same mistakes as Arm and x86
Hotzilla@sopuli.xyz 3 months agoNo, it was about the prediction engines that contain security vulnerabilities. Problem is that software has no control over that, because hardware does future predictions for performance optimization.
MonkderDritte@feddit.de 3 months ago
wewbull@feddit.uk 3 months ago
Prediction is a hard problem when coupled with caches. It relatively easy to say that no speculative instruction has any effect until it’s confirmed taken if you ignore caches. However caches need to fetch information from memory to allow an instruction to evaluate, and rewinding a cache to it’s previous state on a mispredict is almost impossible. Especially when you consider that the amount of time you’re executing non-speculative code on a modern processor is very low.
Not having predictions is consigning yourself to 1990s performance, with faster clocks.