On 2018-01-08 01:31, Greg Freemyer wrote:
On Sun, Jan 7, 2018 at 2:40 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2018-01-07 20:22, Per Jessen wrote:
Carlos E. R. wrote:
Now I wonder if single core CPUs are affected.
This issue is related to paralelization optimizations. Thus I wonder whether a machine that doesn't paralelize is affected.
Jump prediction in the pipeline is not related to the number of cores.
Well, it can preload in advance the pipeline. But it can not compute the alternatives; it has to wait till it evaluates the condition, then compute a single one, the correct one, that is hopefully already loaded in the pipeline.
With a cpu that can do parallelization in hardware, both tracks can start to compute before reaching the branch; then one is discarded.
That's from reading <https://www.raspberrypi.org/blog/why-raspberry-pi-isnt-vulnerable-to-spectre-or-meltdown/>
Carlos,
You fundamentally misunderstand the raspberrypi article.
The parallelism it describes is within a single superscalar core. Thus, a modern Intel "core" has internal parallelism as described in the article.
AH! Yes, of course. Obviously. I see. :-) -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)