diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-12-04 00:34:43 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-12-04 00:34:43 +0000 |
commit | 73f8783add09b7805c9f04a3033ce48fc7255163 (patch) | |
tree | c9208223a152f59c3ae0ddccab9f9092f7f6a8a5 /gcc | |
parent | 2039d7aaea51db1bcfabe7b8f7b3fda6f198f605 (diff) | |
download | gcc-73f8783add09b7805c9f04a3033ce48fc7255163.zip gcc-73f8783add09b7805c9f04a3033ce48fc7255163.tar.gz gcc-73f8783add09b7805c9f04a3033ce48fc7255163.tar.bz2 |
* doc/tm.texi (TARGET_DELEGITIMIZE_ADDRESS): Document target hook.
From-SVN: r91713
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b507d6d..13b1004 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-12-03 Roger Sayle <roger@eyesopen.com> + + * doc/tm.texi (TARGET_DELEGITIMIZE_ADDRESS): Document target hook. + 2004-12-03 Richard Henderson <rth@redhat.com> * alias.c (component_uses_parent_alias_set): Rename from diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 46a9adf..97b4a0f 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5156,6 +5156,16 @@ an immediate operand on the target machine. You can assume that anything @code{CONSTANT_P} is valid. @end defmac +@deftypefn {Target Hook} rtx TARGET_DELEGITIMIZE_ADDRESS (rtx @var{x}) +This hook is used to undo the possibly obfuscating effects of the +@code{LEGITIMIZE_ADDRESS} and @code{LEGITIMIZE_RELOAD_ADDRESS} target +macros. Some backend implementations of these macros wrap symbol +references inside an @code{UNSPEC} rtx to represent PIC or similar +addressing modes. This target hook allows GCC's optimizers to understand +the semantics of these opaque @code{UNSPEC}s by converting them back +into their original form. +@end deftypefn + @deftypefn {Target Hook} bool TARGET_CANNOT_FORCE_CONST_MEM (rtx @var{x}) This hook should return true if @var{x} is of a form that cannot (or should not) be spilled to the constant pool. The default version of |