OSDN Git Service

PR tree-optimization/28411
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Aug 2006 21:15:19 +0000 (21:15 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Aug 2006 21:15:19 +0000 (21:15 +0000)
commit58f43b9022418d659bfa7c3600662fdecd313774
tree30bc9b33718fe7a8c347a8df8410345bef4030ee
parentab71f27487869cae781c73d50eef9d1c6732a830
PR tree-optimization/28411
* double-int.c (double_int_div): Use double_int_divmod.
(double_int_divmod, double_int_sdivmod, double_int_udivmod,
double_int_mod, double_int_smod, double_int_umod): New functions.
* double-int.h (double_int_divmod, double_int_sdivmod,
double_int_udivmod, double_int_mod, double_int_smod, double_int_umod):
Declare.
* tree-ssa-loop-ivopts.c (constant_multiple_of): Returns the result
in double_int.
(get_computation_aff, get_computation_cost_at): Handle double_int
return type of constant_multiple_of.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116529 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/double-int.c
gcc/double-int.h
gcc/tree-ssa-loop-ivopts.c