m256 missing from <xmmintrin.h>

Ian Lance Taylor iant@google.com
Wed Apr 13 15:16:00 GMT 2011


olivaE <bchkifa@gmail.com> writes:

> I'm not sure I should be asking for this here or in apple or intel forums,
> but anyway, I have a mac book intel core duo and I'm running mac os 10.6.7.
> I have xcode 3.2.6 and the default compiler is gcc 4.2, and it's the last
> version of gcc supported in xcode yet. I lately started to use intel SSE for
> some linear algebra routines and I would like to use _m256 type but I
> couldn't find it in the xmmintrin.h header, is this because It's not
> supported by the hardware , I bought my mac on 2007, or I just have to
> update the intel SSE headers.

The _m256 type is supported in immintrin.h, but only when -march
indicates that AVX support is available.  This is only available in gcc
4.4 and later.

Ian



More information about the Gcc-help mailing list