On 2017-08-11 05:22 -0400, Jeffrey Walton wrote: > On Wed, Aug 9, 2017 at 12:59 AM, Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx> wrote: > > Use <smmintrin.h>. > 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. Intel docs say <smmintrin.h>: <https://software.intel.com/sites/landingpage/IntrinsicsGuide/#techs=SSE4_1&expand=2268> and <nmmintrin.h> contains SSE 4.2 STTNI (String and Text New Instructions), such as CRC32. -- Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University