<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 1, 2016 at 8:37 AM C Bergström <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Jun 1, 2016 at 11:26 PM, Reid Kleckner <<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>> wrote:<br>
> Clang has never exposed the same set of builtins as GCC, though:<br>
> <a href="http://clang.llvm.org/compatibility.html#vector_builtins" rel="noreferrer" target="_blank">http://clang.llvm.org/compatibility.html#vector_builtins</a><br>
><br>
> I don't think we need to keep our IA32 vector builtin interface stable when<br>
> the *mmintrin.h headers already provide a stable, portable, cross-vendor<br>
> interface to the same functionality.<br>
<br>
I didn't mention gcc.. I agree they shouldn't be used in the wild, but<br>
they are..<br>
<br>
Why not leave the built-in support and under the hood just map that to<br>
something more portable? This is a pretty low cost (zero?) maintenance<br>
burden...<br>
<br>
Intentionally breaking stuff without at least giving any warning or<br>
marking as deprecated in a major release 1st.. Is this an exception<br>
because __built-ins are grey area support?<br><br></blockquote><div><br></div><div>What Reid is saying has been our policy from the beginning, there's even a script in the repository (that I sadly haven't updated in years) that helps handle the transition between builtins and the *mmintrin.h headers.</div><div><br></div><div>-eric </div></div></div>