gcc 4.2 supports a bunch of X86 built-in functions (for example SSE vector instructions) that appear to not be known by clang:
Is it a known incompatibility with gcc? Is there a plan to implement these built-in functions in clang? Or clang has some built-in replacements? Or did I simply miss something?
Here is a sample code that does not build with clang on 10.6 but compile with gcc 4.2:
int main (int argc, const char * argv)
typedef short _SSE_VecS16 attribute ((vector_size (16)));
register _SSE_VecS16 b;
register _SSE_VecS16 c;