This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add double_int_not, double_int_lshift and double_int_rshift functions.
> Thanks for these cleanups. Can you move both tree_to_double_int
> and double_int_negative_p to double-int.h from double-int.c as
> a followup? A patch to do so is pre-approved.
And there is a pasto in the description of double_int_rshift, rshift_double
explicitly requires COUNT to be positive. It would also have been better to
keep the same prototype ('int' for arith) or change everything to 'bool'.
"Shift the A left"
"Shift A left" would be better.
"Shift the A rigth"
"Shift A right"
--
Eric Botcazou