[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Shootout-C++/lists.cpp objinst.cpp
Evan Cheng
evan.cheng at apple.com
Thu Jun 7 23:33:37 PDT 2007
Changes in directory llvm-test/SingleSource/Benchmarks/Shootout-C++:
lists.cpp updated: 1.4 -> 1.5
objinst.cpp updated: 1.3 -> 1.4
---
Log message:
SMALL_PROBLEM_SIZE
---
Diffs of the changes: (+7 -3)
lists.cpp | 6 +++++-
objinst.cpp | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
Index: llvm-test/SingleSource/Benchmarks/Shootout-C++/lists.cpp
diff -u llvm-test/SingleSource/Benchmarks/Shootout-C++/lists.cpp:1.4 llvm-test/SingleSource/Benchmarks/Shootout-C++/lists.cpp:1.5
--- llvm-test/SingleSource/Benchmarks/Shootout-C++/lists.cpp:1.4 Thu May 3 11:55:46 2007
+++ llvm-test/SingleSource/Benchmarks/Shootout-C++/lists.cpp Fri Jun 8 01:33:15 2007
@@ -1,5 +1,5 @@
// -*- mode: c++ -*-
-// $Id: lists.cpp,v 1.4 2007/05/03 16:55:46 laurov Exp $
+// $Id: lists.cpp,v 1.5 2007/06/08 06:33:15 evancheng Exp $
// http://www.bagley.org/~doug/shootout/
// from Bill Lear
@@ -9,7 +9,11 @@
using namespace std;
+#ifdef SMALL_PROBLEM_SIZE
+const size_t SIZE = 1000;
+#else
const size_t SIZE = 10000;
+#endif
template <class _ForwardIterator, class _Tp>
void
Index: llvm-test/SingleSource/Benchmarks/Shootout-C++/objinst.cpp
diff -u llvm-test/SingleSource/Benchmarks/Shootout-C++/objinst.cpp:1.3 llvm-test/SingleSource/Benchmarks/Shootout-C++/objinst.cpp:1.4
--- llvm-test/SingleSource/Benchmarks/Shootout-C++/objinst.cpp:1.3 Thu May 3 11:55:46 2007
+++ llvm-test/SingleSource/Benchmarks/Shootout-C++/objinst.cpp Fri Jun 8 01:33:15 2007
@@ -1,5 +1,5 @@
// -*- mode: c++ -*-
-// $Id: objinst.cpp,v 1.3 2007/05/03 16:55:46 laurov Exp $
+// $Id: objinst.cpp,v 1.4 2007/06/08 06:33:15 evancheng Exp $
// http://www.bagley.org/~doug/shootout/
#include <stdlib.h>
@@ -41,7 +41,7 @@
int
main(int argc, char *argv[]) {
#ifdef SMALL_PROBLEM_SIZE
-#define LENGTH 7000000
+#define LENGTH 1000000
#else
#define LENGTH 70000000
#endif
More information about the llvm-commits
mailing list