This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: About implementing new intrinsic
- From: Revital1 Eres <ERES at il dot ibm dot com>
- To: "Ferad Zyulkyarov" <feradz at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 18 Feb 2007 16:38:39 +0200
- Subject: Re: About implementing new intrinsic
gcc-owner@gcc.gnu.org wrote on 14/02/2007 19:34:48:
> Hi,
>
> I try to introduce a new intrinsic in gcc's back-end, for the alpha
> machines. In doing that, I referenced to the implementaions of altivec
> intrinsics for the PowerPC. In the mean time I noticed that the
> gcc-4.0 and gcc-4.1 implements these in different way which confused
> me. The difference is that in 4.0 for each intrinsic is defined a in
> inline template function and/or macro. gcc-4.1 and later miss these
> definition.
>
Hi,
I am not sure if this message is still relevant. Anyhow, I think
following another built-in under zero_arg_builtins ("__builtin_alpha_rpcc"
in alpha.c for example) could help in finding the missing part in this
implementation.
Revital