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

sse.expandfft.c updated: 1.3 -> 1.3.6.1
sse.stepfft.c updated: 1.2 -> 1.2.6.1
---
Log message:

For PR950: http://llvm.org/PR950 :
This commit (on SignlessTypes branch) provides the first Iteration for 
moving LLVM away from Signed types. This patch removes the ConstantSInt
and ConstantUInt classes from Type.h and makes all necessary changes in
LLVM to compensate.


---
Diffs of the changes:  (+11 -9)

 sse.expandfft.c |   12 +++++++-----
 sse.stepfft.c   |    8 ++++----
 2 files changed, 11 insertions(+), 9 deletions(-)


Index: llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c
diff -u llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c:1.3 
llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c:1.3.6.1
--- llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c:1.3     Tue Apr 
 4 13:51:30 2006
+++ llvm-test/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c Wed Oct 18 
23:00:51 2006
@@ -5,6 +5,7 @@
 #include "xmmintrin.h"
 #define N 1024
 #define N2 N/2
+
 main()
 {
 /* 
@@ -14,15 +15,16 @@
               wpp, SAM. Math. ETHZ 21 May, 2002 
 */
    int first,i,icase,it,n;
-   float error,fnm1,seed,sign,z0,z1,ggl();
+   double error;
+   float fnm1,seed,sign,z0,z1,ggl();
    float *x,*y,*z,*w;
    float t1,ln2,mflops;
    void cffti(),cfft2();
 /* allocate storage for x,y,z,w on 4-word bndr. */
-   x = (float *)_mm_malloc(8*N, 16);
-   y = (float *)_mm_malloc(8*N, 16);
-   z = (float *)_mm_malloc(8*N, 16);
-   w = (float *)_mm_malloc(4*N, 16);
+   x = (float *)valloc(8*N);
+   y = (float *)valloc(8*N);
+   z = (float *)valloc(8*N);
+   w = (float *)valloc(4*N);
    first = 1;
    seed  = 331.0;
    for(icase=0;icase<2;icase++){


Index: llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c
diff -u llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c:1.2 
llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c:1.2.6.1
--- llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c:1.2       Tue Apr 
 4 13:52:26 2006
+++ llvm-test/SingleSource/UnitTests/Vector/SSE/sse.stepfft.c   Wed Oct 18 
23:00:51 2006
@@ -17,10 +17,10 @@
    float t1,ln2,mflops;
    void cffti(),cfft2();
 /* allocate storage for x,y,z,w on 4-word bndr. */
-   x = (float *)_mm_malloc(8*N, 16);
-   y = (float *)_mm_malloc(8*N, 16);
-   z = (float *)_mm_malloc(8*N, 16);
-   w = (float *)_mm_malloc(4*N, 16);
+   x = (float *)valloc(8*N);
+   y = (float *)valloc(8*N);
+   z = (float *)valloc(8*N);
+   w = (float *)valloc(4*N);
    first = 1;
    seed  = 331.0;
    for(icase=0;icase<2;icase++){



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to