Re: [PATCH] optabs: Don't use scalar conversions for vectors [PR93843]

2020-02-27 Thread Richard Sandiford
Jakub Jelinek writes: > On Wed, Feb 26, 2020 at 11:43:10AM +, Richard Sandiford wrote: >> In this PR we had a conversion between two integer vectors that >> both had scalar integer modes. We then tried to implement the >> conversion using the scalar optab for those modes, instead of >> doing

Re: [PATCH] optabs: Don't use scalar conversions for vectors [PR93843]

2020-02-26 Thread Jakub Jelinek
On Wed, Feb 26, 2020 at 11:43:10AM +, Richard Sandiford wrote: > In this PR we had a conversion between two integer vectors that > both had scalar integer modes. We then tried to implement the > conversion using the scalar optab for those modes, instead of > doing the conversion elementwise.

Re: [PATCH] optabs: Don't use scalar conversions for vectors [PR93843]

2020-02-26 Thread Richard Biener
On Wed, Feb 26, 2020 at 12:43 PM Richard Sandiford wrote: > > In this PR we had a conversion between two integer vectors that > both had scalar integer modes. We then tried to implement the > conversion using the scalar optab for those modes, instead of > doing the conversion elementwise. > > I

[PATCH] optabs: Don't use scalar conversions for vectors [PR93843]

2020-02-26 Thread Richard Sandiford
In this PR we had a conversion between two integer vectors that both had scalar integer modes. We then tried to implement the conversion using the scalar optab for those modes, instead of doing the conversion elementwise. I wondered about letting through scalar modes for single-element vectors,