altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)

Originally committed as revision 1448 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Romain Dolbeau
2003-01-11 20:51:03 +00:00
committed by Michael Niedermayer
parent f3ec2d46ba
commit e629ab68a7
10 changed files with 273 additions and 26 deletions

View File

@ -57,9 +57,9 @@ int fft_init(FFTContext *s, int nbits, int inverse)
#if defined(HAVE_MMX)
has_vectors = mm_support() & MM_SSE;
#else
/* XXX: should also use mm_support() ? */
has_vectors = has_altivec() & MM_ALTIVEC;
#endif
#if defined(HAVE_ALTIVEC)
has_vectors = mm_support() & MM_ALTIVEC;
#endif
if (has_vectors) {
int np, nblocks, np2, l;