[llvm-commits] [parallel] CVS: llvm/test/Programs/SingleSource/Benchmarks/Stanford/RealMM.c

Misha Brukman brukman at cs.uiuc.edu
Mon Mar 1 19:18:58 PST 2004


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

RealMM.c updated: 1.1 -> 1.1.14.1

---
Log message:

Merge from trunk

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

Index: llvm/test/Programs/SingleSource/Benchmarks/Stanford/RealMM.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Stanford/RealMM.c:1.1 llvm/test/Programs/SingleSource/Benchmarks/Stanford/RealMM.c:1.1.14.1
--- llvm/test/Programs/SingleSource/Benchmarks/Stanford/RealMM.c:1.1	Mon May 12 12:39:14 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Stanford/RealMM.c	Mon Mar  1 17:59:14 2004
@@ -1,6 +1,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#define float double
+
 #define  nil		0
 #define	 false		0
 #define  true		1
@@ -148,7 +150,7 @@
     for ( i = 1; i <= rowsize; i++ )
 		for ( j = 1; j <= rowsize; j++ ) 
 			rInnerproduct(&rmr[i][j],rma,rmb,i,j);
-	printf("%d\n", rmr[run + 1][run + 1]);
+	printf("%f\n", rmr[run + 1][run + 1]);
 }
 
 int main()





More information about the llvm-commits mailing list