[Bug target/82735] _mm256_zeroupper does not invalidate previously computed registers
crazylht at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 28 11:08:08 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82735
--- Comment #12 from Hongtao.liu <crazylht at gmail dot com> ---
(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.
More information about the Gcc-bugs
mailing list