Re: [6/11] Tests for HOST_WIDE_INT representability

2011-07-05 Thread Richard Henderson
On 07/01/2011 10:34 AM, Bernd Schmidt wrote: > * machmode.h (HWI_COMPUTABLE_MODE_P): New macro. > * combine.c (set_nonzero_bits_and_sign_copies): Use it. > (find_split-point, combine_simplify_rtx, simplify_if_then_else, > simplify_set, simplify_logical, expand_compound_opera

[6/11] Tests for HOST_WIDE_INT representability

2011-07-01 Thread Bernd Schmidt
A lot of code tests GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT to determine whether it can operate on values in the mode using HOST_WIDE_INT. This patch hides that behind a new macro, which now uses GET_MODE_PRECISION. Bernd * machmode.h (HWI_COMPUTABLE_MODE_P): New macro.