This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use builtins for cabs and copysign
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Andrew Pinski <apinski at apple dot com>,gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 15 Aug 2004 09:54:37 +0100
- Subject: Re: [PATCH] Use builtins for cabs and copysign
- Organization: CodeSourcery
- References: <1343C13D-EE59-11D8-9325-00039351ED8A@apple.com>
On Sunday 15 August 2004 02:18, Andrew Pinski wrote:
> ChangeLog:
>
> * f95-lang.c (gfc_init_builtin_functions): Initialize the builtins
> for cabs{,f} and copysign{,f}.
> * trans-decl.c (gfor_fndecl_math_cabsf): Delete.
> (gfor_fndecl_math_cabs): Delete.
> (gfor_fndecl_math_sign4): Delete.
> (gfor_fndecl_math_sign8): Delete.
> (gfc_build_intrinsic_function_decls): Remove the
> initializing of cabs{,f} and copysign{,f} functions.
> * trans-intrinsic.c (gfc_conv_intrinsic_abs): Use the builtins instead
> of the functions definitions.
> (gfc_conv_intrinsic_sign): Likewise.
> * trans.h (gfor_fndecl_math_cabsf): Delete.
> (gfor_fndecl_math_cabs): Delete.
> (gfor_fndecl_math_sign4): Delete.
> (gfor_fndecl_math_sign8): Delete.
Ok.
Paul