summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Besard <tim.besard@gmail.com>2011-11-02 14:58:28 +0100
committerTim Besard <tim.besard@gmail.com>2011-11-02 14:58:28 +0100
commit0f941106001034a3f579b4ea722014f48e4391c8 (patch)
treed24ee3be79e4fbe916232422629b2a270af00d58
parent017f97abaf748a23314f4f52d45da454fd48591a (diff)
Unused now, we generate our own ASM.
-rw-r--r--src/Run.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Run.cpp b/src/Run.cpp
index 1075554..399f516 100644
--- a/src/Run.cpp
+++ b/src/Run.cpp
@@ -44,8 +44,6 @@ Lock Run::global_mutex;
int64 Run::_ops_per_chain = 0;
double Run::_seconds = 1E9;
-#define prefetch(x) __builtin_prefetch(x)
-
Run::Run() :
exp(NULL), bp(NULL) {
}
@@ -363,12 +361,6 @@ Run::reverse_mem_init(Chain *mem) {
return root;
}
-static int64 dumb_ck = 0;
-void mem_chk(Chain *m) {
- if (m == 0)
- dumb_ck += 1;
-}
-
static benchmark chase_pointers(int64 chains_per_thread, // memory loading per thread
int64 bytes_per_line, // ignored
int64 bytes_per_chain, // ignored