[U-Boot] [PATCH] Switch from archive libraries to partial linking

Wolfgang Denk wd at denx.de
Tue Jan 25 20:02:28 CET 2011


Dear Timur Tabi,

In message <4D3F16C7.7040000 at freescale.com> you wrote:
>
> But when will gcc generate FP instructions?  If we compile with soft-float, will
> it link in an FP library and use it?

GCC will (in addition to the obvious case of operations of FP data
types) generate FP instructions for a number of "small data copy"
operations, like assignment of structs etc.

> My point is that compiling with soft-float doesn't make much more sense than
> compiling with hard-float, since there won't be any floating point instructions
> in either case.

You are wrong.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
One difference between a man and a machine is that a machine is quiet
when well oiled.


More information about the U-Boot mailing list