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

--- Comment #18 from Steven Munroe <munroesj at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #17)
> Hi!
> 
> So, why do we not generate xxspltib where it would help.  Please send a
> patch?
> Improvements will usually be to the xxspltib-generating code itself, not to
> the legacy code that generates the old (correct, but not ideal here)
> sequence!

For power9 xxspltib is appropriate. but power8 needs vspltisb. PVECLIB still
supports power8.

Also vspltisw may be preferred for power9 (for range -16...15) for vector int.
Otherwise xxspltib/vextsb2w is required.

Reply via email to