Re: [05/nn] Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-12-15 Thread Richard Biener
On Fri, Dec 15, 2017 at 1:52 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Fri, Dec 15, 2017 at 1:29 AM, Richard Sandiford >> wrote: >>> This patch just adds VEC_DUPLICATE_EXPR, since the VEC_DUPLICATE_CST >>> isn't needed with the new VECTOR_CST layout. It's really just the >>> o

Re: [05/nn] Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-12-15 Thread Richard Sandiford
Richard Biener writes: > On Fri, Dec 15, 2017 at 1:29 AM, Richard Sandiford > wrote: >> This patch just adds VEC_DUPLICATE_EXPR, since the VEC_DUPLICATE_CST >> isn't needed with the new VECTOR_CST layout. It's really just the >> original patch with bits removed, but just in case: >> >> Tested on

Re: [05/nn] Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-12-15 Thread Richard Biener
On Fri, Dec 15, 2017 at 1:29 AM, Richard Sandiford wrote: > This patch just adds VEC_DUPLICATE_EXPR, since the VEC_DUPLICATE_CST > isn't needed with the new VECTOR_CST layout. It's really just the > original patch with bits removed, but just in case: > > Tested on aarch64-linux-gnu, x86_64-linux-

Re: [05/nn] Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-12-14 Thread Richard Sandiford
This patch just adds VEC_DUPLICATE_EXPR, since the VEC_DUPLICATE_CST isn't needed with the new VECTOR_CST layout. It's really just the original patch with bits removed, but just in case: Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64-linux-gnu. OK to install? Richard 2017-12-15 R

Re: [05/nn] Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-11-07 Thread Richard Biener
On Mon, Nov 6, 2017 at 4:09 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Mon, Oct 23, 2017 at 1:20 PM, Richard Sandiford >> wrote: >>> SVE needs a way of broadcasting a scalar to a variable-length vector. >>> This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for

Re: [05/nn] Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-11-06 Thread Richard Sandiford
Richard Biener writes: > On Mon, Oct 23, 2017 at 1:20 PM, Richard Sandiford > wrote: >> SVE needs a way of broadcasting a scalar to a variable-length vector. >> This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for >> fixed-length vectors and VEC_DUPLICATE_EXPR for when CONSTRUC

Re: [05/nn] Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-10-26 Thread Richard Biener
On Mon, Oct 23, 2017 at 1:20 PM, Richard Sandiford wrote: > SVE needs a way of broadcasting a scalar to a variable-length vector. > This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for > fixed-length vectors and VEC_DUPLICATE_EXPR for when CONSTRUCTOR would > be used for fixed-l

[05/nn] Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-10-23 Thread Richard Sandiford
SVE needs a way of broadcasting a scalar to a variable-length vector. This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for fixed-length vectors and VEC_DUPLICATE_EXPR for when CONSTRUCTOR would be used for fixed-length vectors. VEC_DUPLICATE_EXPR is the tree equivalent of the ex

Re: Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-09-25 Thread Richard Sandiford
Richard Biener writes: > On Mon, Sep 25, 2017 at 1:08 PM, Richard Sandiford > wrote: >> SVE needs a way of broadcasting a scalar to a variable-length vector. >> This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for >> fixed-length vectors and VEC_DUPLICATE_EXPR for when CONSTRUC

Re: Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-09-25 Thread Richard Biener
On Mon, Sep 25, 2017 at 1:08 PM, Richard Sandiford wrote: > SVE needs a way of broadcasting a scalar to a variable-length vector. > This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for > fixed-length vectors and VEC_DUPLICATE_EXPR for when CONSTRUCTOR would > be used for fixed-l

Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-09-25 Thread Richard Sandiford
SVE needs a way of broadcasting a scalar to a variable-length vector. This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for fixed-length vectors and VEC_DUPLICATE_EXPR for when CONSTRUCTOR would be used for fixed-length vectors. VEC_DUPLICATE_EXPR is the tree equivalent of the ex