-msse4.1 causes "SSE4.2 instruction set not enabled"
Xi Ruoyao
ryxi@stu.xidian.edu.cn
Tue Aug 15 11:23:00 GMT 2017
On 2017-08-11 05:22 -0400, Jeffrey Walton wrote:
> On Wed, Aug 9, 2017 at 12:59 AM, Xi Ruoyao <ryxi@stu.xidian.edu.cn> 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@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University
More information about the Gcc-help
mailing list