Re: [70/77] Make expand_fix/float check for scalar modes

2017-08-24 Thread Jeff Law
On 07/13/2017 03:03 AM, Richard Sandiford wrote: > The expand_float code: > > /* Unsigned integer, and no way to convert directly. Convert as signed, > then unconditionally adjust the result. */ > > and the expand_fix code: > > /* For an unsigned conversion, there is one more way to d

[70/77] Make expand_fix/float check for scalar modes

2017-07-13 Thread Richard Sandiford
The expand_float code: /* Unsigned integer, and no way to convert directly. Convert as signed, then unconditionally adjust the result. */ and the expand_fix code: /* For an unsigned conversion, there is one more way to do it. If we have a signed conversion, we generate code that