https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80571
--- Comment #2 from Peter Cordes ---
I think hjl's patch for PR 89071 / PR 87007 fixes (most of?) this, at least for
AVX.
If register pressure is an issue, using a reg holding a arbitrary constant
(instead of xor-zeroed) is a valid option, as th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80571
--- Comment #1 from Peter Cordes ---
Tracking "cold" registers that are safe to use as a read-only source (whether
or not they're holding a useful value like a constant) has a couple other
applications for x86:
* vcvtsi2ss/sd %src,%merge_into,