[49/77] Simplify nonzero/num_sign_bits hooks

2017-07-13 Thread Richard Sandiford
The two implementations of the reg_nonzero_bits and reg_num_sign_bits hooks ignored the "known_x", "known_mode" and "known_ret" arguments, so this patch removes them. It adds a new scalar_int_mode parameter that specifies the mode of "x". (This mode might be different from "mode", which is the mo

Re: [49/77] Simplify nonzero/num_sign_bits hooks

2017-08-23 Thread Jeff Law
On 07/13/2017 02:55 AM, Richard Sandiford wrote: > The two implementations of the reg_nonzero_bits and reg_num_sign_bits > hooks ignored the "known_x", "known_mode" and "known_ret" arguments, > so this patch removes them. It adds a new scalar_int_mode parameter > that specifies the mode of "x". (