https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104124
Steven Munroe <munroesj at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |munroesj at gcc dot gnu.org --- Comment #1 from Steven Munroe <munroesj at gcc dot gnu.org> --- Created attachment 52236 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52236&action=edit Attempts to load small int consts to vector DW via splat Multiple attempt to convince GCC to load small integer (-16 - 15) constants via splat. Current GCC versions (9/10/11) convert vec_splats(<small const>) and explicit vec_splat_s32/vec_unpackl sequences into to loads from .rodata. This generates more instruction, takes more cycles, and causes register pressure that results in unnecessary spill/reload and load-hit-store rejects.