[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/life/life.cpp
Evan Cheng
evan.cheng at apple.com
Wed May 30 10:44:33 PDT 2007
Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/life:
life.cpp updated: 1.2 -> 1.3
---
Log message:
Add SMALL_PROBLEM_SIZE support.
---
Diffs of the changes: (+4 -0)
life.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/life/life.cpp
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/life/life.cpp:1.2 llvm-test/MultiSource/Benchmarks/Prolangs-C++/life/life.cpp:1.3
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/life/life.cpp:1.2 Mon Oct 4 21:44:05 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/life/life.cpp Wed May 30 12:44:14 2007
@@ -4,7 +4,11 @@
const int N=40, STATES=4; // size of square board
const int DRAB=3;
const int DFOX=8;
+#ifdef SMALL_PROBLEM_SIZE
+const int CYCLES=1000
+#else
const int CYCLES=10000;
+#endif
enum state { EMPTY, GRASS, RABBIT, FOX };
class living; // forward decl
More information about the llvm-commits
mailing list