[llvm-commits] CVS: llvm/test/Programs/MultiSource/Applications/sgefa/Makefile driver.c

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 12 13:06:01 PDT 2003


Changes in directory llvm/test/Programs/MultiSource/Applications/sgefa:

Makefile updated: 1.3 -> 1.4
driver.c updated: 1.2 -> 1.3

---
Log message:

Increase the default problem size a lot, and add a LARGE_PROBLEM_SIZE


---
Diffs of the changes:  (+8 -0)

Index: llvm/test/Programs/MultiSource/Applications/sgefa/Makefile
diff -u llvm/test/Programs/MultiSource/Applications/sgefa/Makefile:1.3 llvm/test/Programs/MultiSource/Applications/sgefa/Makefile:1.4
--- llvm/test/Programs/MultiSource/Applications/sgefa/Makefile:1.3	Fri Sep 12 11:02:47 2003
+++ llvm/test/Programs/MultiSource/Applications/sgefa/Makefile	Sun Oct 12 13:05:10 2003
@@ -2,6 +2,12 @@
 PROG     = sgefa
 LDFLAGS  = -lm
 
+ifdef LARGE_PROBLEM_SIZE
+CPPFLAGS = -DSCALE=50
+else
+CPPFLAGS = -DSCALE=30
+endif
+
 # This program is adversely effected by the underlying precision of the machine
 PROGRAM_IS_NONDETERMINISTIC = 1
 


Index: llvm/test/Programs/MultiSource/Applications/sgefa/driver.c
diff -u llvm/test/Programs/MultiSource/Applications/sgefa/driver.c:1.2 llvm/test/Programs/MultiSource/Applications/sgefa/driver.c:1.3
--- llvm/test/Programs/MultiSource/Applications/sgefa/driver.c:1.2	Sat May  3 00:00:38 2003
+++ llvm/test/Programs/MultiSource/Applications/sgefa/driver.c	Sun Oct 12 13:05:10 2003
@@ -12,7 +12,9 @@
 #define SMALL	 1.0e-45	/* Smallest (in absolute value) representable float. */
 #define MATPRINT 7		/* Matricies of size <= MATPRINT are printed out. */
 #define VECPRINT 7	    	/* Vectors of size <= VECPRINT are printed out. */
+#ifndef SCALE
 #define SCALE	 1		/* System sizes are scaled by this amount. */
+#endif
 main()
 {
   register int i, j, k;





More information about the llvm-commits mailing list