3 ms·
Flushing the cache after every branch misprediction would probably make branch prediction a net loss in performance.
by plorkyeran 9y ago
Flushing 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.