[linux-audio-dev] Fixed vs Floating point comparison.

Steve Harris S.W.Harris at ecs.soton.ac.uk
Sat Oct 18 13:49:50 UTC 2003


On Fri, Oct 17, 2003 at 02:34:16 -0300, Juan Linietsky wrote:
> There's 2 ways, if you check the benchmarks, the ones that say "float"
> use a cast, and the ones that say "fistl" use that instruction (which is 
> faster in most cases). I think what surprised me the most about all this
> is the slow performance of the G4 on floating point.. I heard several times
> that they have instant float->int conversion... and this is using apple's gcc 
> compiler.

Right, but a cast isnt the same thing as a conversion. A C cast has
explicit semantics.

- Steve



More information about the Linux-audio-dev mailing list