[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers

crazylht at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 29 05:56:41 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735

--- Comment #14 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Hongtao.liu from comment #12)
> (In reply to Jakub Jelinek from comment #10)
> > Last touched in PR99563.
> > I guess for the explicit user vzeroupper we need to add the clobbers/sets
> > earlier than in the vzeroupper pass, but ideally in a way that doesn't force
> > save/restore of registers that aren't really needed in the function.
> 
> Yes, if we want to add the clobbers/sets earlier(than CSE1), vzeroupper pass
> should be able to remove those unnecessary clobbers/sets.

Correct typo, add the clobbers/sets earlier(than RA)


More information about the Gcc-bugs mailing list