This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Do not define -mlong-double-128 on ppc when --without-fp specified?


On Thu, 16 Mar 2006, Roland McGrath wrote:

> > Note that the function-call ABI for soft-float and hard-float PowerPC is 
> > in any case incompatible, you can't mix soft-float binaries with 
> > hard-float libc or vice versa.
> 
> Do you mean that the calling conventions use FPU registers in hard-float
> and not in soft-float?  

Yes, exactly, the standard psABI uses FPU registers for arguments and 
return values, but with -msoft-float the FPU registers aren't available 
(hence some users using -msoft-float to avoid the compiler deciding to use 
them in non-fp code) and there's a different ABI using general purpose 
registers instead.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]