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: Mikael Pettersson <mikpe at it dot uu dot se>
- To: Anthony Green <green at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 20 Nov 2010 13:40:46 +0100
- Subject: Re: [Patch, libffi, ARM] VFP hard-float calling convention support
- References: <m362wm5gsf.fsf@redhat.com>
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.
/Mikael