<div dir="ltr"><div dir="ltr">On Thu, Mar 28, 2019 at 1:46 PM JF Bastien <<a href="mailto:jfbastien@apple.com">jfbastien@apple.com</a>> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><blockquote type="cite"><div>On Mar 28, 2019, at 12:02 PM, Billy O'Neal (VC LIBS) <<a href="mailto:bion@microsoft.com" target="_blank">bion@microsoft.com</a>> wrote:</div><br class="gmail-m_7048915203350462242Apple-interchange-newline"><div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">Update: VS2019 Update 2 is likely to do this; who do I need to prod such that I get to use these unconditionally in our <atomic> ?<span id="gmail-m_7048915203350462242🙂" title=":slight_smile:">🙂</span></div></div></blockquote><div><br></div><div>You want the same feature in clang-cl, so I suggest talking to Reid, sending a patch to clang, and having him review it ;-)</div></div></div></blockquote><div><br></div><div>I think it's just a matter of moving code from <a href="https://github.com/llvm/llvm-project/blob/master/clang/include/clang/Basic/BuiltinsAArch64.def#L82">BuiltinsAArch64.def</a> (and ARM) to Builtins.def, and maybe some followon changes.</div><div><br></div><div>The naming for these intrinsics is confusing. It reads as, "do an ISO C++ standard volatile load", but it really means "do an atomic (not volatile) load", but I suppose the time to address that is long gone.</div><div><br></div><div>I went ahead and started a patch to make them available.</div></div></div>