[cfe-dev] Removal of built-ins
Eric Christopher via cfe-dev
cfe-dev at lists.llvm.org
Thu Jun 2 18:44:54 PDT 2016
If you'd like to it'd be lovely.
Thanks!
On Thu, Jun 2, 2016, 6:00 PM Craig Topper <craig.topper at gmail.com> wrote:
> Eric, as I'm the one who deleted this builtin, and probably many previous
> ones. Should I look into updating the script?
>
> On Thu, Jun 2, 2016 at 5:25 PM, John McCall via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> On Jun 1, 2016, at 1:11 PM, Eric Christopher via cfe-dev <
>> cfe-dev at lists.llvm.org> wrote:
>> On Wed, Jun 1, 2016 at 8:37 AM C Bergström <cfe-dev at lists.llvm.org>
>> wrote:
>>
>>> On Wed, Jun 1, 2016 at 11:26 PM, Reid Kleckner <rnk at google.com> wrote:
>>> > Clang has never exposed the same set of builtins as GCC, though:
>>> > http://clang.llvm.org/compatibility.html#vector_builtins
>>> >
>>> > I don't think we need to keep our IA32 vector builtin interface stable
>>> when
>>> > the *mmintrin.h headers already provide a stable, portable,
>>> cross-vendor
>>> > interface to the same functionality.
>>>
>>> I didn't mention gcc.. I agree they shouldn't be used in the wild, but
>>> they are..
>>>
>>> Why not leave the built-in support and under the hood just map that to
>>> something more portable? This is a pretty low cost (zero?) maintenance
>>> burden...
>>>
>>> Intentionally breaking stuff without at least giving any warning or
>>> marking as deprecated in a major release 1st.. Is this an exception
>>> because __built-ins are grey area support?
>>>
>>>
>> 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.
>>
>>
>> I agree that we don't need to support undocumented builtins.
>>
>> John.
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>>
>
>
> --
> ~Craig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160603/51e93ae3/attachment.html>
More information about the cfe-dev
mailing list