Changes in directory llvm-test/SingleSource/UnitTests/Vector/Altivec:
alti.expandfft.c updated: 1.1 -> 1.2 alti.isamax.c updated: 1.1 -> 1.2 alti.sdot.c updated: 1.1 -> 1.2 alti.stepfft.c updated: 1.1 -> 1.2 --- Log message: adjust these to allow them to compile. --- Diffs of the changes: (+8 -1) alti.expandfft.c | 6 +++++- alti.isamax.c | 1 + alti.sdot.c | 1 + alti.stepfft.c | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) Index: llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c diff -u llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c:1.1 llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c:1.2 --- llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c:1.1 Mon Apr 3 19:47:54 2006 +++ llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c Tue Apr 4 01:08:25 2006 @@ -2,8 +2,13 @@ #include <math.h> #include <time.h> #include <float.h> +#include <stdlib.h> +#include <altivec.h> #define N 1048576 #define N2 N/2 +void cfft2(unsigned int n,float x[][2],float y[][2],float w[][2], float sign); +void cffti(int n, float w[][2]); + main() { /* @@ -29,7 +34,6 @@ float error,fnm1,sign,z0,z1,ggl(); float *x,*y,*z,*w; double t1,mflops; - void cffti(),cfft2(); /* allocate storage for x,y,z,w on 4-word bndr. */ x = (float *) malloc(8*N); y = (float *) malloc(8*N); Index: llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.isamax.c diff -u llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.isamax.c:1.1 llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.isamax.c:1.2 --- llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.isamax.c:1.1 Mon Apr 3 19:47:54 2006 +++ llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.isamax.c Tue Apr 4 01:08:25 2006 @@ -1,6 +1,7 @@ #include <stdio.h> #include <math.h> #include <float.h> +#include <altivec.h> #define N 1027 main() { Index: llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c diff -u llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c:1.1 llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c:1.2 --- llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c:1.1 Mon Apr 3 19:47:54 2006 +++ llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.sdot.c Tue Apr 4 01:08:25 2006 @@ -1,4 +1,5 @@ #include <stdio.h> +#include <altivec.h> #include <math.h> #include <float.h> #define N 1027 Index: llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c diff -u llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c:1.1 llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c:1.2 --- llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c:1.1 Mon Apr 3 19:47:54 2006 +++ llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c Tue Apr 4 01:08:25 2006 @@ -2,6 +2,7 @@ #include <math.h> #include <time.h> #include <float.h> +#include <altivec.h> #define N 128 #define N2 N/2 main() _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits