Re: [arm-gnu] Float register passing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] Float register passing
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Re: [arm-gnu] Float register passing
- From: Paul Brook <paul@xxxxxxxxxxxxxxxx>
- Date: Wed, 22 Feb 2006 18:21:29 +0000
On Wednesday 22 February 2006 17:45, Joe Foster wrote:
> Hello,
>
> When passing values to asm coded functions,
> the ARM compiler (armcc, not gcc) expects and places
> floating point values into the floating point
> registers. GCC for ARM 3.4.4 does not. It places
> parameters in the general purpose registers
> R0...Is this correct?
The ARM EABI specifies that floating point values should be passed in core
registers.
You need to tell armcc to use the standard EABI calling convention, not the
modified hard-float VFP calling convention.
Paul