[cfe-dev] gcc 4.2.1 xmmintrin.h vs clang's xxmintrin.h
amitkulz at gmail.com
Wed Feb 16 13:44:43 PST 2011
Thanks, that helped a lot! Now checking if that compiles with system gcc
On Wed, Feb 16, 2011 at 3:31 PM, Ted Kremenek <kremenek at apple.com> wrote:
> Hi Amit,
> I think the information you are looking for is here:
> The upshot is that the GCC builtins are not provided, and users should use the portable high-level operations that lower to the appropriate operations for the given compiler.
> On Feb 16, 2011, at 1:25 PM, Amit Kulkarni wrote:
>> I am compiling a program which uses '__builtin_ia32_cmpgtps' and
>> '__builtin_ia32_cmpeqps'. I find that they are SSE extensions.
>> Now the header file for OpenBSD's gcc 4.2.1 /usr/include/xmmintrin.h
>> has a mention of those two instructions. But the header file for clang
>> /usr/local/lib/clang/2.9/include/xmmintrin.h doesn't have any mention
>> of this? Compiling C++ programs is picking up clang's header vs gcc
>> looking at http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080929/007949.html,
>> it used to be present in clang, now where is it disappeared to?
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
More information about the cfe-dev