[arm] Implement soft-float abi

Wouter van Heyst wouter@vidicode.org
Tue Aug 24 10:35:00 GMT 2004


On Tue, Aug 24, 2004 at 10:06:15AM +0100, Richard Earnshaw wrote:
> On Tue, 2004-08-24 at 02:47, Paul Brook wrote:
> > The patch below allows use of hardware floating point while still conforming 
> > to the soft-float ABI.

Sweet.

> > Tested with cross to arm-linux.
> > Ok?
> > 
> > Paul
> > 
> > 2004-08-13  Paul Brook  <paul@codesourcery.com>
> > 
> > 	* config/arm/arm.c (arm_override_options): Update error message.
> > 	* config/arm/arm.h (TARGET_HARD_FLOAT): Rename to
> > 	TARGET_HARD_FLOAT_ABI.
> > 	(TARGET_SOFT_FLOAT_ABI): Rename to TARGET_HARD_FLOAT.
> > 	(LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Use TARGET_HARD_FLOAT_ABI.
> 
> OK.
> 
> Note that I'd like to work towards the point where libcalls always use
> the same (soft-float) calling convention, regardless of the ABI. 
> However, that's going to require some work to ensure that we don't break
> backwards compatibility on Linux (we can do it, but it's not entirely
> trivial).

What is involved in not breaking backwards compatibility?

Wouter van Heyst



More information about the Gcc-patches mailing list