I mean, that’s all chip architectures are, so yes.
Comment on Linus Torvalds says RISC-V will make the same mistakes as Arm and x86
MonkderDritte@feddit.de 3 months agoI think it was something with instruction sets?
Cocodapuf@lemmy.world 3 months ago
Hotzilla@sopuli.xyz 3 months ago
No, 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.
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.
MonkderDritte@feddit.de 3 months ago
Aah, right, that.