diff options
author | Joern Rennecke <amylaar@spamcop.net> | 2010-01-17 08:12:27 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2010-01-17 08:12:27 +0000 |
commit | 5eb7ce918115a8c994124a5d02f4e8b6392075fe (patch) | |
tree | 639ed0a7c242f69b91123d10f31a7d2d10491bce | |
parent | 914d25dcfb3a995fa6ab16014e143301196f760d (diff) | |
download | gcc-5eb7ce918115a8c994124a5d02f4e8b6392075fe.zip gcc-5eb7ce918115a8c994124a5d02f4e8b6392075fe.tar.gz gcc-5eb7ce918115a8c994124a5d02f4e8b6392075fe.tar.bz2 |
(TARGET_BUILTIN_RECIPROCAL): Fix argument types.
Rename argument tm_fn to md_fn.
From-SVN: r155973
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 4 |
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} |