Re: [1/6] Fix vectorizable_conversion costs

2019-11-07 Thread Richard Biener
On November 7, 2019 4:14:14 PM GMT+01:00, Richard Sandiford wrote: >Richard Biener writes: >> On Tue, Nov 5, 2019 at 3:25 PM Richard Sandiford >> wrote: >>> >>> This patch makes two tweaks to vectorizable_conversion. The first >>> is to use "modifier" to distinguish between promotion,

Re: [1/6] Fix vectorizable_conversion costs

2019-11-07 Thread Richard Sandiford
Richard Biener writes: > On Tue, Nov 5, 2019 at 3:25 PM Richard Sandiford > wrote: >> >> This patch makes two tweaks to vectorizable_conversion. The first >> is to use "modifier" to distinguish between promotion, demotion, >> and neither promotion nor demotion, rather than using a code for >>

Re: [1/6] Fix vectorizable_conversion costs

2019-11-06 Thread Richard Biener
On Tue, Nov 5, 2019 at 3:25 PM Richard Sandiford wrote: > > This patch makes two tweaks to vectorizable_conversion. The first > is to use "modifier" to distinguish between promotion, demotion, > and neither promotion nor demotion, rather than using a code for > some cases and "modifier" for

[1/6] Fix vectorizable_conversion costs

2019-11-05 Thread Richard Sandiford
This patch makes two tweaks to vectorizable_conversion. The first is to use "modifier" to distinguish between promotion, demotion, and neither promotion nor demotion, rather than using a code for some cases and "modifier" for others. The second is to take ncopies into account for the promotion