Displaying 1 result from an estimated 1 matches for "_al_has_vector_unit".
2003 Oct 12
1
Altivec-enabled libvorbis...
...if someone wanted to get these changes into a mainline
libvorbis, they should:
- diff libogg and libvorbis from that CVS.
- Make sure the build system #defines MACOSX=1 and gcc is invoked with
the -faltivec command line (-O3, -ffast-math, and -falign-loops=16 are
huge helps, too).
- Change the _al_has_vector_unit() define in misc.h to point to a static
variable in libvorbis and set that variable in a convenient place during
initialization. Currently this variable exists in my AL implementation
and not libvorbis. The code to detect an Altivec unit in MacOSX looks
like this:
#include <CoreServic...