summaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-16 23:07:05 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-16 23:07:05 +0000
commit3a89b1337f4c0fa0fe3f47f5d43f944706dece0c (patch)
tree259f043fcac33e1457c5aba5b29b3ba0ba1ab5e4 /gcc/expmed.c
parent5c4826b30f02fd5a45abdea4cd489a4a0cb98a83 (diff)
downloadgcc-3a89b1337f4c0fa0fe3f47f5d43f944706dece0c.tar.gz
* expr.c (store_constructor_field): Add prototype.
(memory_use_mode): Likewise. * expmed.c (synth_mult): Add prototype. (choose_multiplier, invert_mod2n): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19250 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 8f0ba071364..6e01c929a3e 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -1914,6 +1914,15 @@ struct algorithm
char log[MAX_BITS_PER_WORD];
};
+static void synth_mult PROTO((struct algorithm *,
+ unsigned HOST_WIDE_INT,
+ int));
+static unsigned HOST_WIDE_INT choose_multiplier PROTO((unsigned HOST_WIDE_INT,
+ int, int,
+ unsigned HOST_WIDE_INT *,
+ int *, int *));
+static unsigned HOST_WIDE_INT invert_mod2n PROTO((unsigned HOST_WIDE_INT,
+ int));
/* Compute and return the best algorithm for multiplying by T.
The algorithm must cost less than cost_limit
If retval.cost >= COST_LIMIT, no algorithm was found and all