aboutsummaryrefslogtreecommitdiff
path: root/gcc/tm.texi
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-06-17 11:44:02 +0000
committerJeff Law <law@gcc.gnu.org>1998-06-17 05:44:02 -0600
commitdbecbbe48af59a29adadd6e6dc8895e64764adb4 (patch)
tree5f8204f11538f0d3f56395877d68c0bbfd75f9b7 /gcc/tm.texi
parenta5b8127eb13cce7fa4ddf8e4337f6e9fe67d1dc4 (diff)
downloadgcc-dbecbbe48af59a29adadd6e6dc8895e64764adb4.zip
gcc-dbecbbe48af59a29adadd6e6dc8895e64764adb4.tar.gz
gcc-dbecbbe48af59a29adadd6e6dc8895e64764adb4.tar.bz2
expr.c (check_max_integer_computation_mode): New function.
* expr.c (check_max_integer_computation_mode): New function. (expand_expr): Avoid integer computations in modes wider than MAX_INTEGER_COMPUTATION_MODE. * fold-const.c (fold): Likewise. * tree.h (check_max_integer_computation_mode): Declare. * tm.texi (MAX_INTEGER_COMPUTATION_MODE): Document it. From-SVN: r20538
Diffstat (limited to 'gcc/tm.texi')
-rw-r--r--gcc/tm.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/tm.texi b/gcc/tm.texi
index b03e791..a4fb481 100644
--- a/gcc/tm.texi
+++ b/gcc/tm.texi
@@ -7417,4 +7417,12 @@ A C expression that returns how many instructions can be issued at the
same time if the machine is a superscalar machine. This is only used by
the @samp{Haifa} scheduler, and not the traditional scheduler.
+@findex MAX_INTEGER_COMPUTATION_MODE
+@item MAX_INTEGER_COMPUTATION_MODE
+Define this to the largest integer machine mode which can be used for
+operations other than load, store and copy operations.
+
+You need only define this macro if the target holds values larger than
+@code{word_mode} in general purpose registers. Most targets should not define
+this macro.
@end table