[PATCH] D47672: [Headers] Add _Interlocked*_HLEAcquire/_HLERelease

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 13 10:35:39 PDT 2018


craig.topper added a comment.

FWIW, I found a cfe-dev thread about adding HLE support http://lists.llvm.org/pipermail/cfe-dev/2013-February/028031.html And a bunch of dead patches in phabricator https://reviews.llvm.org/people/revisions/110/

I also spoke to Andi Kleen here at Intel to make sure I got these inline assembly versions correct. And he's not sure CPython should be using these the way it is. It looks like they try to use the HLE versions anytime the memory order is acquire/release. But HLE isn't suitable for every acquire/release.


https://reviews.llvm.org/D47672





More information about the cfe-commits mailing list