[llvm-commits] [test-suite] r168284 - in /test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops: Makefile kernel22.c lloops.h
Benjamin Kramer
benny.kra at googlemail.com
Sun Nov 18 01:39:31 PST 2012
Author: d0k
Date: Sun Nov 18 03:39:30 2012
New Revision: 168284
URL: http://llvm.org/viewvc/llvm-project?rev=168284&view=rev
Log:
Try to unbreak the LivermoreLoops benchmark on darwin.
- Darwin doesn't have clock_gettime, and the timer functions are unused. Remove them.
- Clean up LDFLAGS.
Modified:
test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/Makefile
test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/kernel22.c
test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/lloops.h
Modified: test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/Makefile?rev=168284&r1=168283&r2=168284&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/Makefile Sun Nov 18 03:39:30 2012
@@ -1,6 +1,6 @@
LEVEL = ../../..
-LDFLAGS += -m64 -lrt -lc -lm
+LDFLAGS += -lm
FP_TOLERANCE := 0.0001
Modified: test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/kernel22.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/kernel22.c?rev=168284&r1=168283&r2=168284&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/kernel22.c (original)
+++ test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/kernel22.c Sun Nov 18 03:39:30 2012
@@ -15,7 +15,7 @@
unsigned iter = 0;
parameters (22);
- start_time();
+ /*start_time();*/
expmax = 20.0;
u[n-1] = 0.99*expmax*v[n-1];
Modified: test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/lloops.h
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/lloops.h?rev=168284&r1=168283&r2=168284&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/lloops.h (original)
+++ test-suite/trunk/SingleSource/Benchmarks/LivermoreLoops/lloops.h Sun Nov 18 03:39:30 2012
@@ -17,6 +17,7 @@
#include <stdio.h>
#include <math.h>
+#if 0
/* Timer */
#include <time.h>
struct timespec tp1;
@@ -43,6 +44,7 @@
secs = theseSecs - startSecs;
millisecs = (int)(1000.0 * secs);
}
+#endif
/* Test Variables */
struct Arrays
More information about the llvm-commits
mailing list