]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/double-int.h
double-int.h (double_int_to_shwi, [...]): Implement as static inline.
authorAnatoly Sokolov <aesok@post.ru>
Fri, 18 Jun 2010 15:58:48 +0000 (19:58 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Fri, 18 Jun 2010 15:58:48 +0000 (19:58 +0400)
commitfd7de64cee04fd08c9a849a20e9cf0fd8d6906e1
tree43dbfc5a3de6b7b8c559675266ac518bbcabd39a
parentbc87224e9341b186905d8ac849aeb59463ae4f6b
double-int.h (double_int_to_shwi, [...]): Implement as static inline.

* double-int.h (double_int_to_shwi, double_int_to_uhwi,
double_int_fits_in_uhwi_p): Implement as static inline.
(double_int_xor): New inline function.
(double_int_lrotate, double_int_rrotate, double_int_max,
double_int_umax, double_int_smax, double_int_min, double_int_umin,
double_int_smin): Declare.
(lrotate_double, rrotate_double): Remove declaration.
* double-int.c (double_int_fits_in_uhwi_p, double_int_to_shwi,
double_int_to_uhwi, lrotate_double, rrotate_double): Remove function.
(double_int_lrotate, double_int_rrotate, double_int_max,
double_int_umax, double_int_smax, double_int_min, double_int_umin,
double_int_smin): New function.
* fold-const.c (int_const_binop): Clean up, use double_int_*
functions.
* simplify-rtx.c (simplify_const_binary_operation): Clean up, use
double_int_* and immed_double_int_const functions.

From-SVN: r161002
gcc/ChangeLog
gcc/double-int.c
gcc/double-int.h
gcc/fold-const.c
gcc/simplify-rtx.c