On Wed, Nov 15, 2017 at 2:37 PM, H.J. Lu <hjl.to...@gmail.com> wrote: > -mzeroupper is specified to generate vzeroupper instruction. If it > isn't used, the default should depend on !TARGET_AVX512ER. Users can > always use -mzeroupper or -mno-zeroupper to override it. > > Sebastian, can you run the full test with it? > > OK for trunk if there is no regression?
If we want to go this way, please add relevant tune flag (e.g. X86_TUNE_EMIT_VZEROUPPER) and use it for ~m_KNL. This tune is the property of the processor model, not ISA. Uros.