target.def (builtin_reciprocal): Change tm_fn to md_fn.

* target.def (builtin_reciprocal): Change tm_fn to md_fn.  Use DEFHOOK.
	* doc/tm.texi.in (TARGET_BUILTIN_RECIPROCAL): Use @hook.

From-SVN: r161620
This commit is contained in:
Joern Rennecke 2010-06-30 17:52:17 +00:00 committed by Joern Rennecke
parent ad78130c84
commit 89356d17f1
3 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,9 @@
* doc/tm.texi.in (TARGET_ASM_DECLARE_CONSTANT_NAME): Use @hook.
* doc/tm.texi: Regenerate.
* target.def (builtin_reciprocal): Change tm_fn to md_fn. Use DEFHOOK.
* doc/tm.texi.in (TARGET_BUILTIN_RECIPROCAL): Use @hook.
2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
* toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations

View File

@ -5645,7 +5645,7 @@ of @var{x}.
The default version returns false for all constants.
@end deftypefn
@deftypefn {Target Hook} tree TARGET_BUILTIN_RECIPROCAL (unsigned @var{fn}, bool @var{md_fn}, bool @var{sqrt})
@hook TARGET_BUILTIN_RECIPROCAL
This hook should return the DECL of a function that implements reciprocal of
the builtin function with builtin function code @var{fn}, or
@code{NULL_TREE} if such a function is not available. @var{md_fn} is true

View File

@ -1047,11 +1047,10 @@ DEFHOOK_UNDOC
/* Returns a code for a target-specific builtin that implements
reciprocal of the function, or NULL_TREE if not available. */
/* ??? The documentation uses a different name for tm_fn. */
DEFHOOK_UNDOC
DEFHOOK
(builtin_reciprocal,
"",
tree, (unsigned fn, bool tm_fn, bool sqrt),
tree, (unsigned fn, bool md_fn, bool sqrt),
default_builtin_reciprocal)
/* For a vendor-specific TYPE, return a pointer to a statically-allocated