This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 0/5] ARM Intrinsics Support
On Monday 13 July 2009, Stephen Thomas wrote:
> > -----Original Message-----
> > From: Paul Brook [mailto:paul@codesourcery.com]
> > Sent: 10 July 2009 17:43
> > To: gcc-patches@gcc.gnu.org
> > Cc: Stephen Thomas; Richard Earnshaw
> > Subject: Re: [PATCH 0/5] ARM Intrinsics Support
> >
> > Most of these look like they're either duplicates of existing
> > functions, generate the exact smae result as open-coding the
> > operation, or could be trivially implemented with inline
> > assembly. What's the justifications for trying to support
> > them natively rather than just providing a helpful header file?
>
> Something I didn't make properly clear was that these intrinsics
> are intended purely to provide compatability with another ARM
> compiler. It's not necessary to include a header in order to use
> the intrinsics on that compiler, so requiring someone using these
> intrinsics to do that on GCC breaks the intent of this patch.
That's easily fixed with the -include command-line option.
Paul