]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86: Handle -mavx512vpopcntdq for -march=native
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 22 May 2020 11:18:34 +0000 (04:18 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 24 May 2020 11:18:28 +0000 (04:18 -0700)
commitaf216f799553b9306cb662fc303412a244215ec5
treea6f0b90897011b02e5326da4db0c9ecd20896332
parent135c679c34902fe2bdb0f7b19eace28e1b783eba
x86: Handle -mavx512vpopcntdq for -march=native

Add -mavx512vpopcntdq for -march=native if AVX512VPOPCNTDQ is available.

PR target/95258
* config/i386/driver-i386.c (host_detect_local_cpu): Detect
AVX512VPOPCNTDQ.

(cherry picked from commit 808b611bfb4b05703ea174e50874c711dca44c98)
gcc/ChangeLog
gcc/config/i386/driver-i386.c