3 ms·
more or less... I'm surprised the CPU doesn't already flush caches after speculative execution branches are abandoned
by eecc 9y ago
more or less... I'm surprised the CPU doesn't already flush caches after speculative execution branches are abandoned
- plorkyeran 9y agoFlushing the cache after every branch misprediction would probably make branch prediction a net loss in performance.
- eecc 9y agoWell not all caches, just the part tagged with the mispredicted branch
- singingboyo 9y agoBut that'd still be vulnerable. The issue isn't that you can read whatever was in/got brought into cache, the issue is that you can tell which part of the cache got evicted and infer values based on that.