[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c sse.isamax.c sse.stepfft.c

Reid Spencer reid at x10sys.com
Sat Nov 25 00:51:23 PST 2006



Changes in directory llvm-test/SingleSource/UnitTests/Vector/SSE:

sse.expandfft.c updated: 1.4 -> 1.5
sse.isamax.c updated: 1.1 -> 1.2
sse.stepfft.c updated: 1.3 -> 1.4
---
Log message:

Make the SingleSource tests return reliable results for their exit codes.


---
Diffs of the changes:  (+6 -3)

 sse.expandfft.c |    3 ++-
 sse.isamax.c    |    3 ++-
 sse.stepfft.c   |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)


Index: llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c
diff -u llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c:1.4 llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c:1.5
--- llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c:1.4	Thu Oct 19 11:54:12 2006
+++ llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c	Sat Nov 25 02:51:03 2006
@@ -6,7 +6,7 @@
 #define N 1024
 #define N2 N/2
 
-main()
+int main()
 {
 /* 
    SSE version of cfft2 - uses Intel intrinsics.
@@ -85,6 +85,7 @@
       }
    }
    }
+   return 0;
 }
 void cfft2(n,x,y,w,sign)
 int n;


Index: llvm-test/SingleSource/UnitTests/Vector/SSE/sse.isamax.c
diff -u llvm-test/SingleSource/UnitTests/Vector/SSE/sse.isamax.c:1.1 llvm-test/SingleSource/UnitTests/Vector/SSE/sse.isamax.c:1.2
--- llvm-test/SingleSource/UnitTests/Vector/SSE/sse.isamax.c:1.1	Mon Apr  3 19:47:54 2006
+++ llvm-test/SingleSource/UnitTests/Vector/SSE/sse.isamax.c	Sat Nov 25 02:51:03 2006
@@ -3,7 +3,7 @@
 #include <float.h>
 #include "xmmintrin.h"
 #define N 20
-main()
+int main()
 {
 /* 
   SSE unit step isamax with alignment code. From Section
@@ -22,6 +22,7 @@
   im = isamax0(N,x);
   printf(" maximum index = %d\n",im);
   printf(" maximum value = %e\n",x[im]);
+  return 0;
 }
 #define NS 12
 int isamax0(int n, float *x)


Index: llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c
diff -u llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c:1.3 llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c:1.4
--- llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c:1.3	Thu Oct 19 11:54:12 2006
+++ llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c	Sat Nov 25 02:51:03 2006
@@ -5,7 +5,7 @@
 #include "xmmintrin.h"
 #define N 1024
 #define N2 N/2
-main()
+int main()
 {
 /* 
    SSE version of cfft2 - uses INTEL intrinsics
@@ -81,6 +81,7 @@
       }
    }
    }
+   return 0;
 }
 void cfft2(n,x,y,w,sign)
 int n;






More information about the llvm-commits mailing list