Re: -msse4.1 causes "SSE4.2 instruction set not enabled"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 9, 2017 at 12:59 AM, Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx> wrote:
> On 2017-08-08 23:48 -0400, Jeffrey Walton wrote:
>> Hi Everyone,
>>
>> I'm working on fully patched Solaris 11.3 that uses GCC 4.8.2 compiler.
>>
>> $ cat test.cxx
>> #if defined(__SSE4_1__)
>> # include <emmintrin.h>
>> # include <nmmintrin.h>
>
> Use <smmintrin.h>.
>
> Or, upgrade to GCC 5.

Thanks Xi.

How did you know to use <smmintrin.h>? Intel docs say <nmmintrin.h> is
the header to use, and GCC says to use Intel docs.

Jeff



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux