Re: [5/9] Add mode_for_int_vector helper functions

2017-09-05 Thread Richard Biener
On Tue, Sep 5, 2017 at 2:33 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Mon, Sep 4, 2017 at 1:36 PM, Richard Sandiford >> wrote: >>> There are at least a few places that want to create an integer vector >>> with a specified element size and element count, or to create the >>> int

Re: [5/9] Add mode_for_int_vector helper functions

2017-09-05 Thread Richard Sandiford
Richard Biener writes: > On Mon, Sep 4, 2017 at 1:36 PM, Richard Sandiford > wrote: >> There are at least a few places that want to create an integer vector >> with a specified element size and element count, or to create the >> integer equivalent of an existing mode. This patch adds helpers >>

Re: [5/9] Add mode_for_int_vector helper functions

2017-09-05 Thread Richard Biener
On Mon, Sep 4, 2017 at 1:36 PM, Richard Sandiford wrote: > There are at least a few places that want to create an integer vector > with a specified element size and element count, or to create the > integer equivalent of an existing mode. This patch adds helpers > for doing that. > > The require

[5/9] Add mode_for_int_vector helper functions

2017-09-04 Thread Richard Sandiford
There are at least a few places that want to create an integer vector with a specified element size and element count, or to create the integer equivalent of an existing mode. This patch adds helpers for doing that. The require ()s are all used in functions that go on to emit instructions that us