summaryrefslogtreecommitdiffstats
path: root/gcc/tm.texi
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-17 11:44:02 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-17 11:44:02 +0000
commit32a0589f498ebff0ef9d87530db346415aa145bc (patch)
tree5f8204f11538f0d3f56395877d68c0bbfd75f9b7 /gcc/tm.texi
parent978302d55c8266897c1869b314667ee80f4ccb5d (diff)
downloadppe42-gcc-32a0589f498ebff0ef9d87530db346415aa145bc.tar.gz
ppe42-gcc-32a0589f498ebff0ef9d87530db346415aa145bc.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20538 138bc75d-0d04-0410-961f-82ee72b054a4
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 b03e79100f0..a4fb481e8fc 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
OpenPOWER on IntegriCloud