[Bug target/81467] AVX-512 support for inline assembly

2017-07-18 Thread alekshs at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81467 --- Comment #3 from alekshs at hotmail dot com --- Aha, ok thanks for the clarification. It was pretty helpful. Regarding clobbering, I was compiling on a Skylake Xeon which has avx512f avx512dq avx512cd avx512bw avx512vl using -march=native..

[Bug target/81467] AVX-512 support for inline assembly

2017-07-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81467 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/81467] AVX-512 support for inline assembly

2017-07-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81467 --- Comment #1 from Jakub Jelinek --- If you want to clobber the xmm16-31 and/or k registers, do it conditionally based on preprocessor macros: __asm ("" : ... : ... : "..." #if defined(__AVX512F__) && defined(__x86_64__) , "xmm18"