Re: [arm-gnu] Float register passing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] Float register passing



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