This checks whether the CPU supports SSE4. It should also check if the OS supports SSE4. See this StackOverflow answer.
-
DesWurstes commented at 2:45 PM on April 6, 2018: contributor
-
Empact commented at 8:52 AM on April 9, 2018: member
I think this applies to AVX testing only, and we don't use AVX. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55307 https://sourceware.org/bugzilla/show_bug.cgi?id=13007 https://software.intel.com/en-us/blogs/2011/04/14/is-avx-enabled/ https://gist.github.com/hi2p-perim/7855506 http://svn.cern.ch/guest/gaudi/Gaudi/tags/GaudiKernel/v31r6/src/Lib/instrset_detect.cpp
- DesWurstes closed this on Jun 14, 2018
-
sipa commented at 3:23 PM on June 14, 2018: member
Actually, since this issue was opened, AVX2 code was added.
-
Empact commented at 4:25 PM on June 14, 2018: member
Shall we reopen this issue then? /cc @DesWurstes
- DesWurstes reopened this on Jun 14, 2018
- DesWurstes renamed this:
Check for SSE4
Check for AVX
on Jun 14, 2018 - laanwj closed this on Jun 24, 2018
- laanwj referenced this in commit 5eca4e86d4 on Jun 24, 2018
- codablock referenced this in commit 5e6ee8ea5d on Oct 1, 2019
- codablock referenced this in commit d07f54b967 on Oct 1, 2019
- barrystyle referenced this in commit ff8dc4902f on Jan 22, 2020
- MarcoFalke locked this on Sep 8, 2021