https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115304
--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Created attachment 58333 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58333&action=edit 'c2' GCN target ('-march=gfx908') 'slp-gap-1.c.179t.vect' (In reply to r...@cebitec.uni-bielefeld.de from comment #3) > > --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- > > It should only need vect32 - basically I assumed the target can compose the > > 64bit vector from two 32bit elements. But it might be that for this to work > > the loads would need to be aligned. > > > > What is needed is char-to-short unpacking and vector composition. Either > > composing V2SImode or V8QImode from two V4QImode vectors. > > > > Does the following help? > > Unfortunately not: makes no difference AFAICS. Also doesn't resolve the issue for GCN target (tested '-march=gfx908'); see attached 'c2' GCN target ('-march=gfx908') 'slp-gap-1.c.179t.vect'.