News for hackers. Stuff that matters.
Re:Apple Silicon M1: Black Magic Fuckery by MobiusHorizons on Wednesday November 25, 2020 @02:48AM (#25206845)
I believe modern superscalar architectures can run instructions out of order if they don't rely on the same data, so when paused waiting for a cache miss, the processor can read ahead in the code, and potentially find other memory to prefetch. I may be wrong about the specifics, but these are the types of tricks that modern CPUs employ to achieve higher speed.
Re:Apple Silicon M1: Black Magic Fuckery by sliken on Wednesday November 25, 2020 @02:55AM (#25206875)
Sure, but generally a cacheline miss will quickly stall, sure you might have a few non-dependent instructions in the pipeline, but running a CPU at 3+GHz and waiting 70ns is an eternity. Doubly so when you can execute multiple instructions per cycle.