Hi,
I had question regarding Intel AVX instructions set support for centos:
1. first of all is this support out of the box means compiler and OS level support.
2. If yes what are the steps to enable the same.
Didn't see much is info here in the forum so thought of confirming.
Thanks in advance.
centos7 and Intel AVX instructions support
Re: centos7 and Intel AVX instructions support
Yes, the kernel does expose the instruction set to applications.
Yes, the default compiler (based on GCC 4.8.5) can generate code that uses various instruction sets.
How to write code and use a compiler is more a question about compiler than CentOS.
Yes, the default compiler (based on GCC 4.8.5) can generate code that uses various instruction sets.
Software Collections (SCL) have Clang 7.01 and GCC 9.1.1, if you need more recent compilers.Intel Core CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2 and F16C instruction set support.
How to write code and use a compiler is more a question about compiler than CentOS.
Re: centos7 and Intel AVX instructions support
Gotcha. Thanks.