Use AVX/AVX512 selectively

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What's the correct way to use AVX and AVX512 selectively?

Specifying -mavx512f (for example) on the command line causes GCC 6 to
use such instructions during regular code generation, even without any
AVX512F instructions in the code.

According to the documentation, the target function attribute does not
support "avx512f".

Are there other options besides separate compilation?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux