This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] Add __float128 type support to hppa-hpux
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: John David Anglin <dave dot anglin at nrc-cnrc dot gc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 25 Jan 2011 23:28:19 +0000 (UTC)
- Subject: Re: [committed] Add __float128 type support to hppa-hpux
- References: <20110118220221.GA12715@hiauly1.hia.nrc.ca>
On Tue, 18 Jan 2011, John David Anglin wrote:
> + /* TFmode support builtins. */
> + ftype = build_function_type_list (long_double_type_node,
> + long_double_type_node,
> + NULL_TREE);
> + decl = add_builtin_function ("__builtin_fabsq", ftype,
> + PA_BUILTIN_FABSQ, BUILT_IN_MD,
> + "_U_Qfabs", NULL_TREE);
Adding these built-in functions is not appropriate. The correct model for
__float128 as an alias for long double is IA64 HP-UX, where these
functions are not provided, or __float80 on x86, where again no special
functions are needed or provided.
--
Joseph S. Myers
joseph@codesourcery.com