Re: [01/nn] Add gen_(const_)vec_duplicate helpers

2017-10-27 Thread Richard Sandiford
Jeff Law writes: > On 10/23/2017 05:16 AM, Richard Sandiford wrote: >> This patch adds helper functions for generating constant and >> non-constant vector duplicates. These routines help with SVE because >> it is then easier to use: >> >>(const:M (vec_duplicate:M X)) >> >> for a broadcast o

Re: [01/nn] Add gen_(const_)vec_duplicate helpers

2017-10-25 Thread Jeff Law
On 10/23/2017 05:16 AM, Richard Sandiford wrote: > This patch adds helper functions for generating constant and > non-constant vector duplicates. These routines help with SVE because > it is then easier to use: > >(const:M (vec_duplicate:M X)) > > for a broadcast of X, even if the number of