[U-Boot] Compiler flag -msoft-float in arch/powerpc/cpu/mpc83xx/config.mk

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

Holger Brunck holger.brunck@keymile.com writes:
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.

Dear =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?=,
In message yw1xoc52rvyk.fsf@unicorn.mansr.com you wrote:
Holger Brunck holger.brunck@keymile.com writes:
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.
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
participants (3)
-
Holger Brunck
-
Måns Rullgård
-
Wolfgang Denk