tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
authorPaolo Bonzini <bonzini@gnu.org>
Fri, 3 Dec 2004 15:37:16 +0000 (15:37 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Fri, 3 Dec 2004 15:37:16 +0000 (15:37 +0000)
2004-12-03  Paolo Bonzini  <bonzini@gnu.org>

* doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN.

From-SVN: r91685

gcc/ChangeLog
gcc/doc/tm.texi

index 94e8f94c18eba8a347f8ea8c27d88d2801105524..4ad5bda34fc167219755fb5f0e78bd60d9f43d59 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-03  Paolo Bonzini  <bonzini@gnu.org>
+
+       * doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
+
 2004-12-03  H.J. Lu  <hongjiu.lu@intel.com>
 
        * mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.
index 788bc420fc62b0136cfdab447647e4c381eb0387..dfc1878d69cf8446125fb5b7280af4e5cfa1cc12 100644 (file)
@@ -9339,6 +9339,15 @@ ignored.  This function should return the result of the call to the
 built-in function.
 @end deftypefn
 
+@deftypefn {Target Hook} tree TARGET_FOLD_BUILTIN (tree @var{exp}, bool @var{ignore})
+
+Expand a call to a machine specific built-in function that was set up by
+@samp{TARGET_INIT_BUILTINS}.  @var{exp} is the expression for the
+function call; the result is another tree containing a simplified
+expression for the call's result.  If @var{ignore} is true the
+value will be ignored.
+@end deftypefn
+
 @defmac MD_CAN_REDIRECT_BRANCH (@var{branch1}, @var{branch2})
 
 Take a branch insn in @var{branch1} and another in @var{branch2}.