Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [GRS] GroestlCoin, (PoW), new hash aglo, CPU/GPU mining
by
flyingdog
on 25/03/2014, 11:22:08 UTC
hi guys,

is ig0tik3d on this forum?

I am trying to compile GroestlCoin-cpu-1.0a on max osx with several issues which I solved.. but in the end blocked
cause the ASM of the crypto alg grso implementation is using 32 bit absolute addressing. I am not myself capable of converting manually to 64-bit dynamic ... I get this:

fatal error: error in backend: 32-bit absolute addressing is not supported in 64-bit mode

I tried to use another asm implementation taken from the groest forum, the mmx4 core2duo optimized...hopefully 64 instead of this generic opteron...
but no success... same story with this:

/* sse4 optimized asm */
/* not really any faster as most of the time is spend loading up a huge table of 1024 ints
 * need to write small lanes groestl with sse loads and partial operations
 * could be faster for once block if doing partial transforms on a single block
 * without lanes transforms function could break after 64bytes is finished
*/

#include "grso-asm.h"

void grsoP1024ASM(u64 *x) {
asm (
   "\n   ### load input state from memory to 16 low halves of XMM registers xmm0...xmm15"
   "\n   movaps   0(%0), %%xmm0"
   "\n   movhlps   %%xmm0, %%xmm1"
   "\n   movaps   16(%0), %%xmm2"
   "\n   movhlps   %%xmm2, %%xmm3"
   "\n   movaps   32(%0), %%xmm4"
   "\n   movhlps   %%xmm4, %%xmm5"
   "\n   movaps   48(%0), %%xmm6"
   "\n   movhlps   %%xmm6, %%xmm7"