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

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 51879
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51879&action=edit
Improve HI/HFmode scalar insert

The attached patch further improves HFmode -> SFmode conversion. HFmode values
are passed in XMM registers, but PINSRW insn inserts only from memory or GPR.

The patch introduces *vec_set<V8_128:mode>_0 insn pattern that also adds
PBLENDW instruction that handles insert to element 0 from XMM source.

Reply via email to