madzebra / hodlminer-binary

0 stars 0 forks source link

compile for not supported AES CPU #4

Open ewwink opened 6 years ago

ewwink commented 6 years ago

I have AMD phenom II X4 955, its not support AES, trying to compile but got error

In file included from /usr/lib/gcc/i686-pc-cygwin/6.4.0/include/x86intrin.h:45:0,
                 from aes.c:2:aes.c: In function 'ExpandAESKey256_sub2':
/usr/lib/gcc/i686-pc-cygwin/6.4.0/include/wmmintrin.h:87:1: 
error: inlining failed in call to always_inline '_mm_aeskeygenassist_si128': 
target specific option mismatch _mm_aeskeygenassist_si128 (__m128i __X, const int __C)
 ^~~~~~~~~~~~~~~~~~~~~~~~~

thanks

Orava2 commented 6 years ago

Non AES-NI code is removed from Optiminer's code. NiceHash's Hodlminer support non AES-NI CPUs. https://github.com/nicehash/hodlminer-wolf/releases

Hash rate without AES-NI support is very slow. I have Intel Core2 Extreme QX9650 and I get only 37 - 40 h/s. Here are some benchmark results http://hodlcoin.oo.fi:8080/cpus/CPU_vs_Hash_rate.xhtml .