[cfe-commits] r47850 - /cfe/trunk/Headers/mmintrin.h

Mike Stump mrs at apple.com
Mon Mar 3 17:35:22 PST 2008


On Mar 3, 2008, at 5:29 PM, Devang Patel wrote:
> On Mar 3, 2008, at 5:03 PM, Mike Stump wrote:
>
>>> Actually, I just realized an issue with the current implementation:
>>> shouldn't the functions in mmintrin.h actually be static inline?
>>
>> No, that won't work for C99+, as that then prevents these routines
>> from being used in inline functions.
>
> Does c99+ specs cover compiler builtins here ?

Yes, any code that is in a file that is processed using the c99  
language standard is bound by that language standard.  In his  
implementation of the builtins, he choose to put them in a c99  
language header file, so this choice drives the dependancy.  The  
implementation of the builtins of course need not be implemented this  
way.



More information about the cfe-commits mailing list