Re: Make more use of GET_MODE_UNIT_SIZE

2017-09-03 Thread Jeff Law
On 08/23/2017 04:55 AM, Richard Sandiford wrote: > This patch uses GET_MODE_UNIT_SIZE instead of GET_MODE_SIZE in > cases where, for compound modes, the mode of the scalar elements > is what matters. E.g. the choice between truncation and extension > is really based on the modes of the consistuent

Make more use of GET_MODE_UNIT_SIZE

2017-08-23 Thread Richard Sandiford
This patch uses GET_MODE_UNIT_SIZE instead of GET_MODE_SIZE in cases where, for compound modes, the mode of the scalar elements is what matters. E.g. the choice between truncation and extension is really based on the modes of the consistuent scalars rather than the mode as a whole. None of the ex