Add the detection of the compiler macros for more AVX512 features

Change-Id: I1d1f2c3857824b17185bc47398299ea7f92c5568
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
Thiago Macieira 2014-07-30 09:53:01 -07:00
parent 01cce12820
commit 84f5d4b756

View File

@ -85,6 +85,14 @@ const char msg2[] = "==Qt=magic=Qt== Sub-architecture:"
// AVX512 Conflict Detection, Intel Xeon Phi codename "Knights Landing"
" avx512cd"
#endif
#ifdef __AVX512DQ__
// AVX512 Double & Quadword, future Intel Xeon processor
" avx512dq"
#endif
#ifdef __AVX512BW__
// AVX512 Byte & Word, future Intel Xeon processor
" avx512bw"
#endif
#ifdef __AVX512ER__
// AVX512 Exponentiation & Reciprocal, Intel Xeon Phi codename "Knights Landing"
" avx512ef"
@ -93,6 +101,10 @@ const char msg2[] = "==Qt=magic=Qt== Sub-architecture:"
// AVX512 Prefetch, Intel Xeon Phi codename "Knights Landing"
" avx512pf"
#endif
#ifdef __AVX512VL__
// AVX512 Vector Length, future Intel Xeon processor
" avx512vl"
#endif
#ifdef __BMI__
// Bit Manipulation Instructions 1, Intel Core 4th Generation ("Haswell"), AMD "Bulldozer 2"
" bmi"