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