diff --git a/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c b/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c --- a/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c +++ b/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c @@ -35,10 +35,17 @@ float *x,*y,*z,*w; double t1,mflops; /* allocate storage for x,y,z,w on 4-word bndr. */ +#if defined(_AIX) + posix_memalign((void **)&x,16,8*N); + posix_memalign((void **)&y,16,8*N); + posix_memalign((void **)&z,16,8*N); + posix_memalign((void **)&w,16,4*N); +#else x = (float *) malloc(8*N); y = (float *) malloc(8*N); z = (float *) malloc(8*N); w = (float *) malloc(4*N); +#endif n = 2; for(ln2=1;ln2<21;ln2++){ first = 1; diff --git a/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c b/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c --- a/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c +++ b/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c @@ -27,10 +27,17 @@ float *x,*y,*z,*w; float t1,ln2,mflops; /* allocate storage for x,y,z,w on 4-word bndr. */ +#if defined(_AIX) + posix_memalign((void **)&x,16,8*N); + posix_memalign((void **)&y,16,8*N); + posix_memalign((void **)&z,16,8*N); + posix_memalign((void **)&w,16,4*N); +#else x = (float *)malloc(8*N); y = (float *)malloc(8*N); z = (float *)malloc(8*N); w = (float *)malloc(4*N); +#endif first = 1; for(icase=0;icase<2;icase++){ if(first){