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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Fixed vs Floating point comparison.
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Sat Oct 18 2003 - 16:49:50 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Oct 18 2003 - 16:51:19 EEST