[cfe-commits] r73021 - /cfe/trunk/lib/Headers/xmmintrin.h

Eli Friedman eli.friedman at gmail.com
Sun Jun 7 01:48:01 PDT 2009


On Sun, Jun 7, 2009 at 1:33 AM, Daniel Dunbar<daniel at zuster.org> wrote:
> Author: ddunbar
> Date: Sun Jun  7 03:33:23 2009
> New Revision: 73021
>
> URL: http://llvm.org/viewvc/llvm-project?rev=73021&view=rev
> Log:
> xmmintrin needs to include emmintrin, Darwin system headers seem to depend on it
> defining m128[id], at least.

There's an issue with this approach: if xmmintrin.h includes
emmintrin.h, it's impossible to use xmmintrin.h without SSE2.  I'm not
sure if that's actually a signficant issue, considering any remotely
recent computer has SSE2 support, though; should we care?  We could
always put it in an ifdef __APPLE__, I suppose...

-Eli




More information about the cfe-commits mailing list