[llvm-commits] CVS: llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/dry.c fldry.c
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 29 21:16:01 PST 2004
Changes in directory llvm/test/Programs/SingleSource/Benchmarks/Dhrystone:
dry.c updated: 1.4 -> 1.5
fldry.c updated: 1.4 -> 1.5
---
Log message:
Remove "progress messages" that I added a long time ago
Increase the problem size. The commit message says that the runtime was reduced
*shudder* for the interpreter. Now these benchmarks take ~2.5s to run with the CBE
or 5-6s to run with native gcc.
---
Diffs of the changes: (+2 -6)
Index: llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/dry.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/dry.c:1.4 llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/dry.c:1.5
--- llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/dry.c:1.4 Thu Aug 21 17:13:38 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/dry.c Sun Feb 29 21:15:38 2004
@@ -88,8 +88,7 @@
/*#define MYSTRFNS */
/* Accuracy of timings and human fatigue controlled by next two lines */
-#define LOOPS 10000 /* Use this for slow or 16 bit machines */
-/*#define LOOPS 900000 /* Use this for faster machines */
+#define LOOPS 20000000
/* Compiler dependent options */
#undef NOENUM /* Define if compiler has no enum's */
@@ -256,7 +255,6 @@
#endif
for (i = 0; i < LOOPS; ++i)
{
- if ((i & 127) == 0) printf("making progress: %d\n", i);
Proc5();
Proc4();
IntLoc1 = 2;
Index: llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/fldry.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/fldry.c:1.4 llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/fldry.c:1.5
--- llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/fldry.c:1.4 Thu Aug 21 17:13:38 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Dhrystone/fldry.c Sun Feb 29 21:15:38 2004
@@ -88,8 +88,7 @@
/*#define MYSTRFNS*/
/* Accuracy of timings and human fatigue controlled by next two lines */
-#define LOOPS 15000 /* Use this for slow or 16 bit machines */
-//#define LOOPS 900000 /* Use this for faster machines */
+#define LOOPS 20000000
/* Compiler dependent options */
#undef NOENUM /* Define if compiler has no enum's */
@@ -264,7 +263,6 @@
#endif
for (i = 0; i < LOOPS; ++i)
{
- if ((i & 255) == 0) printf("Making progress: %d\n", i);
Proc5();
Proc4();
IntLoc1 = 2.0;
More information about the llvm-commits
mailing list