Skip to contentSkip to conversation

Compiler flag -msoft-float in arch/powerpc/cpu/mpc83xx/config.mk

U-Boot Holger Brunck 3 participants 3 messages Mar 23, 2011

lore
Share & tools
lore
#0 lore raw

Hi all,
I am wondering why arch/powerpc/cpu/mpc83xx/config.mk sets -msoft-float for all ppc 83xx processors. This is valid e.g. for MPC8321 but e.g. the MPC8360 has a hardware floating point unit. Shouldn't the config.mk file distinguish between different 83xx processors to set this flag only for those which don't have a FPU?

Best regards
Holger Brunck

#1 lore raw
Quoted 6 lines · Holger Brunck

Hi all,
I am wondering why arch/powerpc/cpu/mpc83xx/config.mk sets -msoft-float for all ppc 83xx processors. This is valid e.g. for MPC8321 but e.g. the MPC8360 has a hardware floating point unit. Shouldn't the config.mk file distinguish between different 83xx processors to set this flag only for those which don't have a FPU?

This has been discussed to death here before. The short answer is -msoft-float is correct. The long answer is in the list archives. The last major debate on the topic was a month or two ago.

Signature · 2 lines
M?ns Rullg?rd
mans at mansr.com
#2 lore raw

Dear =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?=,

Quoted 9 lines · In message <[email protected]> you wrote:
Quoted 6 lines · Holger Brunck

Hi all,
I am wondering why arch/powerpc/cpu/mpc83xx/config.mk sets -msoft-float for all ppc 83xx processors. This is valid e.g. for MPC8321 but e.g. the MPC8360 has a hardware floating point unit. Shouldn't the config.mk file distinguish between different 83xx processors to set this flag only for those which don't have a FPU?

Quoted 3 lines

This has been discussed to death here before. The short answer is -msoft-float is correct. The long answer is in the list archives. The last major debate on the topic was a month or two ago.

For reference, see here:

http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/94880
and
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/94940

Best regards,

Wolfgang Denk

Signature · 5 lines
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
The only person who always got his work done by Friday
                                                 was Robinson Crusoe.