[llvm-commits] [test-suite] r47963 - in /test-suite/trunk/SingleSource/Benchmarks/Misc: flops-1.c flops-2.c flops-3.c flops-4.c flops-5.c flops-6.c flops-7.c flops-8.c

Lauro Ramos Venancio lauro.venancio at gmail.com
Wed Mar 5 13:10:26 PST 2008


Author: laurov
Date: Wed Mar  5 15:10:26 2008
New Revision: 47963

URL: http://llvm.org/viewvc/llvm-project?rev=47963&view=rev
Log:
Implement SMALL_PROBLEM_SIZE.


Modified:
    test-suite/trunk/SingleSource/Benchmarks/Misc/flops-1.c
    test-suite/trunk/SingleSource/Benchmarks/Misc/flops-2.c
    test-suite/trunk/SingleSource/Benchmarks/Misc/flops-3.c
    test-suite/trunk/SingleSource/Benchmarks/Misc/flops-4.c
    test-suite/trunk/SingleSource/Benchmarks/Misc/flops-5.c
    test-suite/trunk/SingleSource/Benchmarks/Misc/flops-6.c
    test-suite/trunk/SingleSource/Benchmarks/Misc/flops-7.c
    test-suite/trunk/SingleSource/Benchmarks/Misc/flops-8.c

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/flops-1.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/flops-1.c?rev=47963&r1=47962&r2=47963&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/flops-1.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/flops-1.c Wed Mar  5 15:10:26 2008
@@ -228,7 +228,11 @@
 /*            in the timing.                           */
 /*            50.0% +, 00.0% -, 42.9% *, and 07.1% /   */
 /*******************************************************/
+#ifdef SMALL_PROBLEM_SIZE
+   n = loops*200;
+#else
    n = loops*10000;
+#endif
    sa = 0.0;
 
    n = 2 * n;

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/flops-2.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/flops-2.c?rev=47963&r1=47962&r2=47963&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/flops-2.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/flops-2.c Wed Mar  5 15:10:26 2008
@@ -227,8 +227,11 @@
 /*            in the timing.                           */
 /*            42.9% +, 28.6% -, 14.3% *, and 14.3% /   */
 /*******************************************************/
-
+#ifdef SMALL_PROBLEM_SIZE
+   m = loops*400;
+#else
    m = loops*10000;
+#endif
    s  = -five;                                      /********************/
    sa = -one;                                       /* Loop 2.          */
 						   /********************/

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/flops-3.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/flops-3.c?rev=47963&r1=47962&r2=47963&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/flops-3.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/flops-3.c Wed Mar  5 15:10:26 2008
@@ -220,8 +220,11 @@
 /*************************/
 /* Initialize the timer. */
 /*************************/
-   
-  m = loops*20000;
+#ifdef SMALL_PROBLEM_SIZE
+   m = loops*400;
+#else
+   m = loops*20000;
+#endif
 
 
 /*******************************************************/

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/flops-4.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/flops-4.c?rev=47963&r1=47962&r2=47963&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/flops-4.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/flops-4.c Wed Mar  5 15:10:26 2008
@@ -220,8 +220,11 @@
 /*************************/
 /* Initialize the timer. */
 /*************************/
-   
-  m = loops*10000;
+#ifdef SMALL_PROBLEM_SIZE
+   m = loops*400;
+#else
+   m = loops*10000;
+#endif
 
 
 /************************************************************/

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/flops-5.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/flops-5.c?rev=47963&r1=47962&r2=47963&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/flops-5.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/flops-5.c Wed Mar  5 15:10:26 2008
@@ -220,8 +220,11 @@
 /*************************/
 /* Initialize the timer. */
 /*************************/
-   
-  m = loops*10000;
+#ifdef SMALL_PROBLEM_SIZE
+   m = loops*200;
+#else
+   m = loops*10000;
+#endif
 
 
 /************************************************************/

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/flops-6.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/flops-6.c?rev=47963&r1=47962&r2=47963&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/flops-6.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/flops-6.c Wed Mar  5 15:10:26 2008
@@ -220,8 +220,11 @@
 /*************************/
 /* Initialize the timer. */
 /*************************/
-   
-  m = loops*10000;
+#ifdef SMALL_PROBLEM_SIZE
+   m = loops*200;
+#else
+   m = loops*10000;
+#endif
 
 
 /************************************************************/

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/flops-7.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/flops-7.c?rev=47963&r1=47962&r2=47963&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/flops-7.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/flops-7.c Wed Mar  5 15:10:26 2008
@@ -220,8 +220,11 @@
 /*************************/
 /* Initialize the timer. */
 /*************************/
-   
-  m = loops*10000;
+#ifdef SMALL_PROBLEM_SIZE
+   m = loops*200;
+#else
+   m = loops*10000;
+#endif
 
 
 

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/flops-8.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/flops-8.c?rev=47963&r1=47962&r2=47963&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/flops-8.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/flops-8.c Wed Mar  5 15:10:26 2008
@@ -220,8 +220,11 @@
 /*************************/
 /* Initialize the timer. */
 /*************************/
-   
-  m = loops*10000;
+#ifdef SMALL_PROBLEM_SIZE
+   m = loops*200;
+#else
+   m = loops*10000;
+#endif
 
 
 





More information about the llvm-commits mailing list