Re: Generalise gather and scatter optabs

2019-11-07 Thread Richard Biener
On Wed, Nov 6, 2019 at 5:06 PM Richard Sandiford wrote: > > The gather and scatter optabs required the vector offset to be > the integer equivalent of the vector mode being loaded or stored. > This patch generalises them so that the two vectors can have different > element sizes, although they

Generalise gather and scatter optabs

2019-11-06 Thread Richard Sandiford
The gather and scatter optabs required the vector offset to be the integer equivalent of the vector mode being loaded or stored. This patch generalises them so that the two vectors can have different element sizes, although they still need to have the same number of elements. One consequence of