From 5eb7ce918115a8c994124a5d02f4e8b6392075fe Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Sun, 17 Jan 2010 08:12:27 +0000 Subject: [PATCH] (TARGET_BUILTIN_RECIPROCAL): Fix argument types. Rename argument tm_fn to md_fn. From-SVN: r155973 --- gcc/ChangeLog | 3 +++ gcc/doc/tm.texi | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eecd62ed611..5a313c02fbb 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 PR target/42664 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 871ab0caa26..eed91066970 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} -- 2.30.2