[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Misc/flops.c

Lauro Ramos Venancio lauro.venancio at gmail.com
Thu May 31 18:44:19 CDT 2007



Changes in directory llvm-test/SingleSource/Benchmarks/Misc:

flops.c updated: 1.3 -> 1.4
---
Log message:

Add SMALL_PROBLEM_SIZE support.



---
Diffs of the changes:  (+4 -1)

 flops.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm-test/SingleSource/Benchmarks/Misc/flops.c
diff -u llvm-test/SingleSource/Benchmarks/Misc/flops.c:1.3 llvm-test/SingleSource/Benchmarks/Misc/flops.c:1.4
--- llvm-test/SingleSource/Benchmarks/Misc/flops.c:1.3	Sat May 19 12:54:47 2007
+++ llvm-test/SingleSource/Benchmarks/Misc/flops.c	Thu May 31 18:43:57 2007
@@ -258,8 +258,11 @@
    if ( n == NLimit ) break;
    /* printf(" %10ld  %12.5lf\n",n,sa); */
    }
-
+#ifdef SMALL_PROBLEM_SIZE
+   scale = 1;
+#else
    scale = 0.015895;
+#endif
    T[1]  = scale;
 
 /****************************************/






More information about the llvm-commits mailing list