aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2003-12-04 09:11:19 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2003-12-04 09:11:19 +0000
commit8a89dbd24275d78205f408da9acdee092850dc5a (patch)
tree54f81a2dcb6de1daefdbe36bae91815aee6946ac /gcc/doc
parentafb0918a9b127a64098a1267f328908acc7e4d1d (diff)
downloadgcc-8a89dbd24275d78205f408da9acdee092850dc5a.zip
gcc-8a89dbd24275d78205f408da9acdee092850dc5a.tar.gz
gcc-8a89dbd24275d78205f408da9acdee092850dc5a.tar.bz2
re PR target/13186 ([PPC] Internal compiler error in reload.c)
PR target/13186 Revert all of the following patch, except the addition of hook_bool_machine_mode_true: 2003-11-02 Richard Sandiford <rsandifo@redhat.com> * Makefile.in (targhooks.o, reload.o): Update dependencies. (GTFILES): Add targhooks.c. (gt-targhooks.h): New rule; depend on s-gtype. * target.h (direct_pool_load_p): New hook. * target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro. (TARGET_INITIALIZER): Include it. * targhooks.h (default_direct_pool_load_p): Declare. (hook_bool_machine_mode_true): Declare. * targhooks.c: Include insn-config.h, recog.h, ggc.h and gt-targhooks.h. (pool_symbol): New variable. (default_direct_pool_load_p): New function. (hook_bool_machine_mode_true): New function. * reload.c: Include target.h. (find_reloads): If an alternative will force a constant into memory, count an extra reload if constant pool symbols are not valid addresses. If an alternative uses memory to move values between registers, count the move as two reloads rather than one. * config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define. * doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document. From-SVN: r74275
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index b85f518..09328ae 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -5414,19 +5414,6 @@ should probably only be given to addresses with different numbers of
registers on machines with lots of registers.
@end deftypefn
-@deftypefn {Target Hook} bool TARGET_DIRECT_POOL_LOAD_P (enum machine_mode @var{m})
-This hook should return true if values of mode @var{m} can usually be loaded
-directly from the constant pool, without using an intermediate register
-to hold the address.
-
-The hook is only a heuristic, it has no bearing on correctness.
-If it returns false, reload will be less likely to force constants
-into memory.
-
-The default definition returns true if an ordinary local symbol is
-a valid address.
-@end deftypefn
-
@node Scheduling
@section Adjusting the Instruction Scheduler