Skip to contentSkip to conversation

PPC440 Floating point?

U-Boot-Users Roel Loeffen 2 participants 2 messages Apr 14, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

It's maybe a bit off-topic, but if you can direct me to a right newsgroup I would be pleased.

We are planning to use the PPC440 but,
I wan't to use floating point calculations on a PPC440, since this processor has no FPU, it not as easy I guess?

- What do I need to do floating point calculations?
- Does the GNU compiler support this feature?
- Can I find documentation upon the power (CPU Cycles) needed to do a single 'add' or 'multiply'?

Thx Roel

----------------------------
Prodrive B.V.
Postbus 28030
5602 JA Eindhoven
The Netherlands
----------------------------
Science Park Eindhoven
Ekkersrijt 5025
5692 EB Son
----------------------------
tel. +31 40 2676200
direct: +31 40 2676242
fax +31 40 2676220
----------------------------

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

We are planning to use the PPC440 but,
I wan't to use floating point calculations on a PPC440, since this processor has no FPU, it not as easy I guess?

It's easy if you can live with the poor performance youwill get with software floating point.

Quoted 1 line

- What do I need to do floating point calculations?

Nothing special.

Quoted 1 line

- Does the GNU compiler support this feature?

If it is configured, correctly, yes. You can use our ELDK, which supports this.

Quoted 2 lines

- Can I find documentation upon the power (CPU Cycles) needed to do a single 'add' or 'multiply'?

You do not really want to know this. It is a very frustrating experience.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Q:  What's a light-year?
A:  One-third less calories than a regular year.