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

alti.expandfft.c updated: 1.2 -> 1.3
alti.stepfft.c updated: 1.2 -> 1.3
---
Log message:

Remove calls to clock() and timing info printf's.


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

 alti.expandfft.c |    5 -----
 alti.stepfft.c   |    6 ------
 2 files changed, 11 deletions(-)


Index: llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c
diff -u llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c:1.2 
llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c:1.3
--- llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c:1.2        
Tue Apr  4 01:08:25 2006
+++ llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.expandfft.c    Tue Apr 
 4 13:56:15 2006
@@ -81,17 +81,12 @@
             printf(" for n=%d, fwd/bck error=%e\n",n,error);
             first = 0;
          } else {
-            t1   = ((double)clock())/((double) CLOCKS_PER_SEC);
             for(it=0;it<nits;it++){
                sign = +1.0;
                cfft2(n,x,y,w,sign);
                sign = -1.0;
                cfft2(n,y,x,w,sign);
             }
-            t1   = ((double)clock())/((double) CLOCKS_PER_SEC) - t1;
-            t1   = 0.5*t1/((double) nits);
-            mflops = 5.0*((double) n)*((double) ln2)/((1.e+6)*t1);
-            printf(" for n=%d, t1=%e, mflops=%e\n",n,t1,mflops);
          }
       }
       if((ln2%4)==0) nits /= 10;


Index: llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c
diff -u llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c:1.2 
llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c:1.3
--- llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c:1.2  Tue Apr 
 4 01:08:25 2006
+++ llvm-test/SingleSource/UnitTests/Vector/Altivec/alti.stepfft.c      Tue Apr 
 4 13:56:15 2006
@@ -62,18 +62,12 @@
       printf(" for n=%d, fwd/bck error=%e\n",N,error);
       first = 0;
    } else {
-      t1   = ((float)clock())/((float) CLOCKS_PER_SEC);
       for(it=0;it<nits;it++){
          sign = +1.0;
          cfft2(n,x,y,w,sign);
          sign = -1.0;
          cfft2(n,y,x,w,sign);
       }
-      t1   = ((float)clock())/((float) CLOCKS_PER_SEC) - t1;
-      t1   = t1/(2.0*((float) nits));
-      ln2 = 10.0; /* reset this for different N  */
-      mflops = 5.0*((float) N)*ln2/((1.e+6)*t1);
-      printf(" for n=%d, t1=%e, mflops=%e\n",n,t1,mflops);
    }
    }
 }



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

Reply via email to