[PATCH] D41760: Introduce __builtin_load_no_speculate

2018-01-17 Thread Kristof Beyls via Phabricator via cfe-commits
kristof.beyls added a comment. The API design has been discussed over the past weeks in detail on the gcc mailing list. As a result of that, we propose to adapt the API, to enable efficient code generation also on architectures that need to generate a barrier instruction to achieve the desired

[PATCH] D41760: Introduce __builtin_load_no_speculate

2018-01-05 Thread Kristof Beyls via Phabricator via cfe-commits
kristof.beyls created this revision. kristof.beyls added a reviewer: olista01. Herald added subscribers: aheejin, javed.absar, dschuff, jfb, aemerson. Recently, Google Project Zero disclosed several classes of attack against speculative execution. One of these, known as variant-1 (CVE-2017-5753),