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

--- Comment #11 from Levy Hsu <admin at levyhsu dot com> ---
(In reply to Uroš Bizjak from comment #8)
> (In reply to Levy Hsu from comment #5)
> >     case E_V16QImode:
> >       mode = V8HImode;
> >       gen_shr = gen_vlshrv8hi3;
> >       gen_shl = gen_vashlv8hi3;
> 
> Hm, why vector-by-vector shift here? Should there be a call to gen_lshrv8hi3
> and gen_ashlv8hi3 instead?

Yes Uros It looks like a misuse, should be 
gen_lshrv8hi3 and gen_ashlv8hi3, 

gen_vlshrv8hi3 and gen_vashlv8hi3 accidentally generated "correct" psrlw and
psllw

Reply via email to