Fixed Point Vs. Floating Point

Fixed Point Vs. Floating Point

Hello all,

I am curious about the following:

Based on the latency and throughput numbers for the Pentium 4, I don't see an obvious advantage of fixed point computations over single precision floating point (specifically for multiplication and division operations).

Is this a valid statement?

Is there any speed benefit in converting floating point code to fixed point?

Thanks much,

-Mahesh

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Specifically for multiplication and division operations, fixed point will have a serious performance disadvantage on P4. Unless you are supporting a CPU which lacks hardware floating point instructions, you are unlikely to see a benefit in fixed point.

Leave a Comment

Please sign in to add a comment. Not a member? Join today