[llvm-commits] [parallel] CVS: llvm/test/Programs/SingleSource/Benchmarks/Misc/LICENSE.TXT mandel.c pi.c richards_benchmark.c whetstone.c

Misha Brukman brukman at cs.uiuc.edu
Mon Mar 1 19:36:07 PST 2004


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

LICENSE.TXT updated: 1.2 -> 1.2.6.1
mandel.c updated: 1.6 -> 1.6.6.1
pi.c updated: 1.3 -> 1.3.14.1
richards_benchmark.c updated: 1.1 -> 1.1.14.1
whetstone.c updated: 1.2 -> 1.2.6.1

---
Log message:

Merge from trunk

---
Diffs of the changes:  (+13 -5)

Index: llvm/test/Programs/SingleSource/Benchmarks/Misc/LICENSE.TXT
diff -u llvm/test/Programs/SingleSource/Benchmarks/Misc/LICENSE.TXT:1.2 llvm/test/Programs/SingleSource/Benchmarks/Misc/LICENSE.TXT:1.2.6.1
--- llvm/test/Programs/SingleSource/Benchmarks/Misc/LICENSE.TXT:1.2	Sat Oct 18 02:07:52 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Misc/LICENSE.TXT	Mon Mar  1 17:59:13 2004
@@ -9,3 +9,9 @@
 ------------------------------------------------------------------------------
 (c) Copyright 1998 Painter Engineering, Inc.  See source file for
 license details.
+
+Pi
+------------------------------------------------------------------------------
+This program is licensed under the LLVM license.  It was written by Don Shull
+and Mark Riordan.
+


Index: llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.6 llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.6.6.1
--- llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.6	Tue Aug 19 16:31:29 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c	Mon Mar  1 17:59:13 2004
@@ -6,7 +6,7 @@
 #else /* sparc */
 
 #define ESCAPE 2
-#define IMAGE_SIZE 10
+#define IMAGE_SIZE 5000
 #define START_X -2.0
 #define START_Y START_X
 #define MAX_ITER 10
@@ -16,8 +16,9 @@
 
 #include <tgmath.h>
 
+volatile double __complex__ accum;
 void emit(double __complex__ X) {
-  printf("%f\n", (double)X);
+  accum += X;
 }
 
 void mandel() {
@@ -39,6 +40,7 @@
 
 int main() {
   mandel();
+  printf("%d\n", (int)accum);
   return 0;
 }
 


Index: llvm/test/Programs/SingleSource/Benchmarks/Misc/pi.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Misc/pi.c:1.3 llvm/test/Programs/SingleSource/Benchmarks/Misc/pi.c:1.3.14.1
--- llvm/test/Programs/SingleSource/Benchmarks/Misc/pi.c:1.3	Sun Jan 12 18:55:38 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Misc/pi.c	Mon Mar  1 17:59:13 2004
@@ -29,7 +29,7 @@
       yran = 5813.0;
       ymult = 1307.0;
       ymod = 5471.0;
-      itot = 1200;
+      itot = 40000000;
 
       for(j=1; j<=itot; j++) {
 /*


Index: llvm/test/Programs/SingleSource/Benchmarks/Misc/richards_benchmark.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Misc/richards_benchmark.c:1.1 llvm/test/Programs/SingleSource/Benchmarks/Misc/richards_benchmark.c:1.1.14.1
--- llvm/test/Programs/SingleSource/Benchmarks/Misc/richards_benchmark.c:1.1	Mon May 12 12:45:47 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Misc/richards_benchmark.c	Mon Mar  1 17:59:13 2004
@@ -21,7 +21,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#define                Count           10000*100
+#define                Count           10000*1000
 #define                Qpktcountval    2326410
 #define                Holdcountval     930563
 


Index: llvm/test/Programs/SingleSource/Benchmarks/Misc/whetstone.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Misc/whetstone.c:1.2 llvm/test/Programs/SingleSource/Benchmarks/Misc/whetstone.c:1.2.6.1
--- llvm/test/Programs/SingleSource/Benchmarks/Misc/whetstone.c:1.2	Sat Oct 18 02:09:04 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Misc/whetstone.c	Mon Mar  1 17:59:13 2004
@@ -99,7 +99,7 @@
 	float KIPS;
 	int continuous;
 
-	loopstart = 10000;		/* see the note about LOOP below */
+	loopstart = 100000;		/* see the note about LOOP below */
 	continuous = 0;
 
 	II = 1;		/* start at the first arg (temp use of II here) */





More information about the llvm-commits mailing list