This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, libffi, ARM] VFP hard-float calling convention support
- From: Anthony Green <green at redhat dot com>
- To: Mikael Pettersson <mikpe at it dot uu dot se>
- Cc: gcc-patches at gcc dot gnu dot org, cltang at codesourcery dot com
- Date: Mon, 22 Nov 2010 14:42:36 -0500
- Subject: Re: [Patch, libffi, ARM] VFP hard-float calling convention support
- References: <m362wm5gsf.fsf@redhat.com> <19687.49614.673307.930816@pilspetsen.it.uu.se>
Mikael Pettersson <mikpe@it.uu.se> writes:
> On Thu, 28 Oct 2010 14:11:12 -0400, Anthony Green wrote:
> >
> > I'm committing this patch from Chung-Lin Tang, who provided the
> > following description:
> >
> > "this patch implements VFP hard-float calling conventions, as a new ABI
> > for ARM. Asides from VFP calling convention bits, some additional
> > optimizations have been added to the current softfp assembly code
> > paths too.
> ...
> > 2010-10-28 Chung-Lin Tang <cltang@codesourcery.com>
> ...
>
> This commit, r166032, caused a build error on ARM:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46508
>
> In short, you can't unconditionally use VFP instructions because the
> target CPU may not support them and the assembler will (rightfully)
> error out if you try.
Just FYI, Chung-Yin tells me that a fix in the works.
Thanks,
AG
>
> /Mikael