Re: [19/77] Add a smallest_int_mode_for_size helper function

2017-08-14 Thread Jeff Law
On 07/13/2017 02:45 AM, Richard Sandiford wrote: > This patch adds a wrapper around smallest_mode_for_size > for cases in which the mode class is MODE_INT. Unlike > (int_)mode_for_size, smallest_mode_for_size always returns > a mode of the specified class, asserting if no such mode exists. >

[19/77] Add a smallest_int_mode_for_size helper function

2017-07-13 Thread Richard Sandiford
This patch adds a wrapper around smallest_mode_for_size for cases in which the mode class is MODE_INT. Unlike (int_)mode_for_size, smallest_mode_for_size always returns a mode of the specified class, asserting if no such mode exists. smallest_int_mode_for_size therefore returns a scalar_int_mode