Re: [PATCH 1/7 V4] ifn/optabs: Support vector load/store with length

2020-06-22 Thread Richard Biener
On Mon, 22 Jun 2020, Richard Sandiford wrote: > "Kewen.Lin" writes: > > @@ -5167,6 +5167,24 @@ mode @var{n}. > > > > This pattern is not allowed to @code{FAIL}. > > > > +@cindex @code{lenload@var{m}} instruction pattern > > +@item @samp{lenload@var{m}} > > +Perform a vector load with length

Re: [PATCH 1/7 V4] ifn/optabs: Support vector load/store with length

2020-06-22 Thread Segher Boessenkool
Hi! On Mon, Jun 22, 2020 at 08:59:48PM +0100, Richard Sandiford wrote: > "Kewen.Lin" writes: > > @@ -5167,6 +5167,24 @@ mode @var{n}. > > > > This pattern is not allowed to @code{FAIL}. > > > > +@cindex @code{lenload@var{m}} instruction pattern > > +@item @samp{lenload@var{m}} > > +Perform a

Re: [PATCH 1/7 V4] ifn/optabs: Support vector load/store with length

2020-06-22 Thread Richard Sandiford
"Kewen.Lin" writes: > @@ -5167,6 +5167,24 @@ mode @var{n}. > > This pattern is not allowed to @code{FAIL}. > > +@cindex @code{lenload@var{m}} instruction pattern > +@item @samp{lenload@var{m}} > +Perform a vector load with length from memory operand 1 of mode @var{m} > +into register operand

[PATCH 1/7 V4] ifn/optabs: Support vector load/store with length

2020-06-22 Thread Kewen.Lin via Gcc-patches
Hi, v4: Update len_load_direct/len_store_direct to align with direct optab. v3: Get rid of length mode hook. Thanks for reviewing! BR, Kewen --- gcc/ChangeLog: 2020-MM-DD Kewen Lin * doc/md.texi (lenload@var{m}): Document. (lenstore@var{m}): Likewise. * internal-fn.