[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86
torvalds@linux-foundation.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 12 16:35:17 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930
--- Comment #9 from Linus Torvalds <torvalds@linux-foundation.org> ---
Looks like STV is "scalar to vector" and it should have been disabled
automatically by the -mno-avx flag anyway.
And the excessive stack usage was perhaps due to GCC preparing all those stack
slots for integer -> vector movement that then never happens exactly because
the kernel uses -mno-avx?
So if I understand this right, the kernel can indeed just add -mno-stv to work
around this.
?
More information about the Gcc-bugs
mailing list