Browse Source

Bugfix: Check for SSE 4.1 support before building sse4_64 asm CPU miner (uses MOVNTDQA instruction)

James Z.M. Gao 13 years ago
parent
commit
b3490a4e67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      device-cpu.h

+ 1 - 1
device-cpu.h

@@ -30,7 +30,7 @@
 #define WANT_X8664_SSE2 1
 #endif
 
-#if defined(__x86_64__) && defined(HAS_YASM)
+#if defined(__x86_64__) && defined(HAS_YASM) && defined(__SSE4_1__)
 #define WANT_X8664_SSE4 1
 #endif