> Give a CPU the same registers, the same memory and the same instructions, and it computes the same result.
So is branch prediction, cacheline misses, memory accesses I guess.
> One more outside influence is easy to miss: other CPUs. On two cores, which thread wins a race comes down to cache misses and pipeline stalls, so Rewind provides a single virtual CPU and the threads take turns on it.
Is this a limitation in practice? With a single virtual cpu, data races simply can't happen?
Replies (1)
> Give a CPU the same registers, the same memory and the same instructions, and it computes the same result.
So is branch prediction, cacheline misses, memory accesses I guess.
> One more outside influence is easy to miss: other CPUs. On two cores, which thread wins a race comes down to cache misses and pipeline stalls, so Rewind provides a single virtual CPU and the threads take turns on it.
Is this a limitation in practice? With a single virtual cpu, data races simply can't happen?
Replies (1)