News for hackers. Stuff that matters.
Re:RISC-V J extension – Instructions for JITs by atq2119 on Saturday March 12, 2022 @03:23PM (#30654582)
> CPUs do OOO because they don’t trust compilers to get the order of instructions right.

Not really. CPUs do out-of-order because cache hits are unpredictable and it is crucial for single-threaded performance to make progress on dependent operations as soon as a loaded value is available.

There may be other, lower order, factors, but variable memory latency is the real reason.

There are no comments on this comment yet.