RFA: hook signture patches (3/11): TARGET_BUILTIN_RECIPROCAL
diff mbox

Message ID 20100629215842.y2kra1asgkko4ckc-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke June 30, 2010, 1:58 a.m. UTC
2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>

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

diff mbox

Index: doc/tm.texi
--- doc/tm.texi.in	(revision 161563)
+++ doc/tm.texi.in	(working copy)
@@ -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})
 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
Index: target.def
--- target.def	(revision 161563)
+++ target.def	(working copy)
@@ -1031,11 +1025,10 @@  DEFHOOK
 /* 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.  */
- tree, (unsigned fn, bool tm_fn, bool sqrt),
+ tree, (unsigned fn, bool md_fn, bool sqrt),
 /* For a vendor-specific TYPE, return a pointer to a statically-allocated