This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use AVX/AVX512 selectively


On Thu, Mar 3, 2016 at 8:31 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * Victor Rodriguez:
>
>> What HW are you ussing ?
>
> Both hardware with amd without avx512f capability.  There is run-time
> detection for it, but for it to be effective, most of the program has
> to be compiled without -mavx512f, otherwise the program will use
> avx512f instructions before getting to the detection code.

Have you try Function Multi Versioning ?

https://clearlinux.org/features/function-multiversioning-fmv


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]