* target.def (builtin_reciprocal): Change tm_fn to md_fn. Use DEFHOOK.
* doc/tm.texi.in (TARGET_BUILTIN_RECIPROCAL): Use @hook.
From-SVN: r161620
* 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
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
/* 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