This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [037/nnn] poly_int: get_bit_range


On 10/23/2017 11:14 AM, Richard Sandiford wrote:
> This patch makes get_bit_range return the range and position as poly_ints.
> 
> 
> 2017-10-23  Richard Sandiford  <richard.sandiford@linaro.org>
> 	    Alan Hayward  <alan.hayward@arm.com>
> 	    David Sherwood  <david.sherwood@arm.com>
> 
> gcc/
> 	* expr.h (get_bit_range): Return the bitstart and bitend as
> 	poly_uint64s rather than unsigned HOST_WIDE_INTs.  Return the bitpos
> 	as a poly_int64 rather than a HOST_WIDE_INT.
> 	* expr.c (get_bit_range): Likewise.
> 	(expand_assignment): Update call accordingly.
> 	* fold-const.c (optimize_bit_field_compare): Likewise.
OK.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]