On Wed, Nov 6, 2013 at 11:06 PM, Eric Botcazou <ebotca...@adacore.com> wrote: >> Attached patch fixes PR 59021, where new vzeroupper instructions are >> generated for -mavx after Vlad's useless insn removal patch. >> >> The problem was, that we depent on (useless) moves to AVX256 function >> argument registers in front of the function call to switch the mode to >> DIRTY mode. This is not true anymore, so call_insn has to switch to >> DIRTY mode by itself. > > Thanks for fixing this! > >> The patch will be backported to 4.7 and 4.8 branch in a couple of days. > > The 4.7 branch uses a different mechanism so I'm not sure that's needed.
Oh, I remembered this fact when the patch didn't apply to 4.7 branch... the patch is not needed on 4.7 branch. Thanks, Uros.