avx512 support

490 views
Skip to first unread message

Johann Koenig

unread,
Nov 8, 2017, 12:32:57 PM11/8/17
to Chromium-dev
Is there compile support for avx512? I tried to add some files but the jobs are failing with:
clang: error: unknown argument: '-mavx512'

I've seen some mentions of avx512 but nothing in any of the build files. 

For Visual Studio and avx2, we added /arch:AVX2. The VS 2017 documentation doesn't appear to have a similar flag for avx512.

Dale Curtis

unread,
Nov 8, 2017, 1:14:54 PM11/8/17
to Johann Koenig, Chromium-dev

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAE%3DFoMTj3GiDdFp6iD%3DB1TbkVOT3_dTn4LLFgTTcKG%2BPbXYayQ%40mail.gmail.com.

Johann Koenig

unread,
Nov 8, 2017, 3:28:35 PM11/8/17
to Dale Curtis, Chromium-dev
On Wed, Nov 8, 2017 at 10:14 AM Dale Curtis <dalec...@chromium.org> wrote:
Seems you need -march=knl?

Sadly no, the problem is instead of -mavx512 I need -mavx512f -mavx512cd -mavx512bw -mavx512dq -mavx512vl 
 
Why?

A question for the ages.

mtk...@chromium.org

unread,
Nov 9, 2017, 10:36:14 AM11/9/17
to Chromium-dev, dalec...@chromium.org
Skylake Xeon and Xeon Phi already support different subsets of AVX-512.  :/

As an alternative to your slew of -mavx512foo, you might want to just -march=skylake-avx512 ?  I believe that'll enable {F,CD,BW,DQ,VL} just like you do manually.
Reply all
Reply to author
Forward
0 new messages