This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] 2015-10-15 Benedikt Huber <benedikt dot huber at theobroma-systems dot com> Philipp Tomsich <philipp dot tomsich at theobroma-systems dot com>
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Benedikt Huber <benedikt dot huber at theobroma-systems dot com>
- Cc: gcc-patches at gcc dot gnu dot org, philipp dot tomsich at theobroma-systems dot com, Venkataramanan dot Kumar at amd dot com, pinskia at gmail dot com, e dot menezes at samsung dot com, kyrylo dot tkachov at arm dot com, Richard dot Earnshaw at foss dot arm dot com, marcus dot shawcroft at gmail dot com, james dot greenhalgh at arm dot com
- Date: Fri, 16 Oct 2015 21:37:39 +0900
- Subject: Re: [PATCH] 2015-10-15 Benedikt Huber <benedikt dot huber at theobroma-systems dot com> Philipp Tomsich <philipp dot tomsich at theobroma-systems dot com>
- Authentication-results: sourceware.org; auth=none
- References: <20151009114449 dot GA10390 at arm dot com> <1444946596-1824-1-git-send-email-benedikt dot huber at theobroma-systems dot com> <1444946596-1824-2-git-send-email-benedikt dot huber at theobroma-systems dot com>
On Thu, 2015-10-15 at 22:03 +0000, Benedikt Huber wrote:
>
> +/* Add builtins for reciprocal square root. */
> +
> +void
> +aarch64_init_builtin_rsqrt (void)
> +{
> + tree fndecl = NULL;
> + tree ftype = NULL;
> +
> + tree V2SF_type_node = build_vector_type (float_type_node, 2);
> + tree V2DF_type_node = build_vector_type (double_type_node, 2);
> + tree V4SF_type_node = build_vector_type (float_type_node, 4);
> +
> + typedef struct
> + {
> + tree type_node;
> + const char *builtin_name;
> + int function_code;
> + } builtin_decls_data;
There is an ongoing effort to remove all the unnecessary typedef struct
and enum etc stuff. Please try not to add more of it.
Cheers,
Oleg