[U-Boot] soft vs. hard float

Wolfgang Denk wd at denx.de
Fri Nov 8 06:23:33 CET 2013


Dear "Saridakis, Dean (US SSA)",

In message <20131107230556.589FC4A0EA at theia.denx.de> you wrote:
>
> It looks U-Boot is generally built using soft float. I need

correct.

> hard-float in my system. Is this a general enough need that it'd make
> sense to have a CONFIG_SYS_HARD_FLOAT to enable this option?

This makes no sense.  U-Boot does not use any FP operations at all.

> I made a quick update for mpc85xx (guarded by CONFIG_SYS_HARD_FLOAT)
> and I seem to be running fine.

U-Boot does not (and will not) support FP.  If you want to do number
crunching, then start an OS.

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
"Where shall I begin, please your Majesty?" he asked. "Begin  at  the
beginning,"  the  King said, gravely, "and go on till you come to the
end: then stop."    - Alice's Adventures in Wonderland, Lewis Carroll


More information about the U-Boot mailing list