[vorbis-dev] Optimization and doubles vs. floats

Taral taral at taral.net
Tue Aug 29 13:43:04 PDT 2000



On 29 Aug, Timothy J. Wood wrote:
> 
> 
>   I saw some mail go by a bit ago about doubles-vs-floats, but I seem
>   to have lost it.
> 
>   I'm interested in rewriting the mdct code using Altivec on MacOS X. 
>   Altivec doesn't support doubles, though -- the only floating point
>   vector type is single precision floats.  Vorbis currently has
>   doubles everywhere -- is this really necessary?   Doubles are
>   supposedly faster than floats in the PPC FPU, but the Altivec unit
>   is definitely going to be faster.
> 
> -tim
> 
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/

#define double float

hould be all you need.

Taral

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list