diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-27 00:12:28 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-27 00:12:28 -0500 |
commit | 500759cea12cc08abf5af2bdb1bab1eff72d8542 (patch) | |
tree | b9da89a572deda048a106a7538824263ac496d72 /cpu-miner.c | |
parent | a7518360addc6d3365c8dc4895614f98e084535d (diff) |
s/__SSE__/__SSE2__/
Diffstat (limited to 'cpu-miner.c')
-rw-r--r-- | cpu-miner.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu-miner.c b/cpu-miner.c index 673385d..abe2a21 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -63,7 +63,7 @@ static struct option_help options_help[] = { { "algo XXX", "(-a XXX) Specify sha256 implementation:\n" "\tc\t\tLinux kernel sha256, implemented in C (default)" -#ifdef __SSE__ +#ifdef __SSE2__ "\n\t4way\t\ttcatm's 4-way SSE2 implementation (EXPERIMENTAL)" #endif }, @@ -304,7 +304,7 @@ static void *miner_thread(void *thr_id_int) if (opt_algo == ALGO_C) rc = scanhash(work.midstate, work.data + 64, work.hash1, work.hash, &hashes_done); -#ifdef __SSE__ +#ifdef __SSE2__ else { unsigned int rc4 = ScanHash_4WaySSE2(work.midstate, work.data + 64, @@ -347,7 +347,7 @@ static void parse_arg (int key, char *arg) case 'a': if (!strcmp(arg, "c")) opt_algo = ALGO_C; -#ifdef __SSE__ +#ifdef __SSE2__ else if (!strcmp(arg, "4way")) opt_algo = ALGO_4WAY; #endif |