Displaying 1 result from an estimated 1 matches for "_vectorized".
Did you mean:
vectorized
2003 Oct 12
1
Altivec-enabled libvorbis...
...if ((1 << gestaltPowerPCHasVectorInstructions) & cpufeature)
VectorUnitDetected = 1;
}
Using this code will need "-framework Carbon" on the gcc and ld
commandline.
Non-Mac platforms should already have _al_has_vector_unit() #defined to
be (0), and the *_vectorized functions are inlined stubs, so branches
and functions should be optimized out...but ideally, they should get
filled in with SSE/whatever code.
Theoretically, besides the OSX-specific API for detecting the vector
unit, the Altivec code should work on PowerPC Linux and other PPC-based
OSes that...