Speculative Load Hardening (a Spectre variant #1 mitigation)
http://lists.llvm.org/pipermail/llvm-dev/2018-March/122085.html [lists.llvm.org]
2018-04-09 16:07
I’ve been working for the last month or so on a comprehensive mitigation approach to variant #1 of Spectre. There are a bunch of reasons why this is desirable:
- Critical software that is unlikely to be easily hand-mitigated (or where the performance tradeoff isn’t worth it) will have a compelling option.
- It gives us a baseline on performance for hand-mitigation.
- Combined with opt-in or opt-out, it may give simpler hand-mitigation.
- It is instructive to see *how* to mitigate code patterns.