centos7 and Intel AVX instructions support

Issues related to applications and software problems
Post Reply
abhay2101
Posts: 8
Joined: 2019/12/26 07:58:30
Location: california,usa

centos7 and Intel AVX instructions support

Post by abhay2101 » 2020/05/03 07:26:33

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.

User avatar
jlehtone
Posts: 2870
Joined: 2007/12/11 08:17:33
Location: Finland

Re: centos7 and Intel AVX instructions support

Post by jlehtone » 2020/05/03 10:19:03

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.
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.
Software Collections (SCL) have Clang 7.01 and GCC 9.1.1, if you need more recent compilers.


How to write code and use a compiler is more a question about compiler than CentOS.

abhay2101
Posts: 8
Joined: 2019/12/26 07:58:30
Location: california,usa

Re: centos7 and Intel AVX instructions support

Post by abhay2101 » 2020/05/06 23:16:24

Gotcha. Thanks.

Post Reply

Return to “CentOS 7 - Software Support”