aboutsummaryrefslogtreecommitdiff
path: root/miner.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-11-27 00:46:59 -0500
committerJeff Garzik <jgarzik@redhat.com>2010-11-27 00:46:59 -0500
commit86eb37d631e704768cc4f9684b79fc00e67b384b (patch)
tree3b9a8abf23184cf80fe9b5fb634ee60746ebfe7f /miner.h
parent500759cea12cc08abf5af2bdb1bab1eff72d8542 (diff)
Improve and modularize compile-time CPU detection.
Ideally, we should move this to autoconf.
Diffstat (limited to 'miner.h')
-rw-r--r--miner.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/miner.h b/miner.h
index 69c56a7..ff5bddc 100644
--- a/miner.h
+++ b/miner.h
@@ -4,6 +4,10 @@
#include <stdbool.h>
#include <jansson.h>
+#ifdef __SSE2__
+#define WANT_SSE2_4WAY 1
+#endif
+
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#endif