aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/doc/tm.texi4
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index eecd62e..5a313c0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -96,6 +96,9 @@
(TARGET_GET_DRAP_RTX): Note that this is a hook.
Clarify language.
+ (TARGET_BUILTIN_RECIPROCAL): Fix argument types.
+ Rename argument tm_fn to md_fn.
+
2010-01-16 Harsha Jagasia <harsha.jagasia@amd.com>
PR target/42664
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 871ab0c..eed9106 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -5619,10 +5619,10 @@ of @var{x}.
The default version returns false for all constants.
@end deftypefn
-@deftypefn {Target Hook} tree TARGET_BUILTIN_RECIPROCAL (enum tree_code @var{fn}, bool @var{tm_fn}, bool @var{sqrt})
+@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{tm_fn} is true
+@code{NULL_TREE} if such a function is not available. @var{md_fn} is true
when @var{fn} is a code of a machine-dependent builtin function. When
@var{sqrt} is true, additional optimizations that apply only to the reciprocal
of a square root function are performed, and only reciprocals of @code{sqrt}