diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-28 21:15:19 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-28 21:15:19 +0000 |
commit | 58f43b9022418d659bfa7c3600662fdecd313774 (patch) | |
tree | 30bc9b33718fe7a8c347a8df8410345bef4030ee /gcc/double-int.h | |
parent | ab71f27487869cae781c73d50eef9d1c6732a830 (diff) | |
download | gcc-58f43b9022418d659bfa7c3600662fdecd313774.tar.gz |
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
Diffstat (limited to 'gcc/double-int.h')
-rw-r--r-- | gcc/double-int.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/double-int.h b/gcc/double-int.h index f37bcb2f299..eddd7b7e2fe 100644 --- a/gcc/double-int.h +++ b/gcc/double-int.h @@ -116,6 +116,12 @@ unsigned HOST_WIDE_INT double_int_to_uhwi (double_int); double_int double_int_div (double_int, double_int, bool, unsigned); double_int double_int_sdiv (double_int, double_int, unsigned); double_int double_int_udiv (double_int, double_int, unsigned); +double_int double_int_mod (double_int, double_int, bool, unsigned); +double_int double_int_smod (double_int, double_int, unsigned); +double_int double_int_umod (double_int, double_int, unsigned); +double_int double_int_divmod (double_int, double_int, bool, unsigned, double_int *); +double_int double_int_sdivmod (double_int, double_int, unsigned, double_int *); +double_int double_int_udivmod (double_int, double_int, unsigned, double_int *); bool double_int_negative_p (double_int); int double_int_cmp (double_int, double_int, bool); int double_int_scmp (double_int, double_int); |