Commit b1785d1f07d9482b5ed6104c87b39a3888fa8efb

Xiangfu 2012-05-11T11:04:28

add-MIPSEB-to-icarus-for-BIG_ENDIAN

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-icarus.c b/driver-icarus.c
index dba6617..5ef3300 100644
--- a/driver-icarus.c
+++ b/driver-icarus.c
@@ -350,7 +350,7 @@ static uint64_t icarus_scanhash(struct thr_info *thr, struct work *work,
 		return ESTIMATE_HASHES;
 	}
 
-#ifndef __BIG_ENDIAN__
+#if !defined (__BIG_ENDIAN__) && !defined(MIPSEB)
 	nonce = swab32(nonce);
 #endif