Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rx2 compile error arm64 #130

Open
dhan000 opened this issue Apr 22, 2021 · 0 comments
Open

rx2 compile error arm64 #130

dhan000 opened this issue Apr 22, 2021 · 0 comments

Comments

@dhan000
Copy link

dhan000 commented Apr 22, 2021

RandomX/src/asm/program_epilogue_linux.inc:10: Error: operand 1 must be an integer register -- `ret 0'
RandomX/src/asm/program_sshash_load.inc:1: Error: unknown mnemonic `xor' -- `xor r8,qword ptr[rbx+0]'
RandomX/src/asm/program_sshash_load.inc:2: Error: unknown mnemonic `xor' -- `xor r9,qword ptr[rbx+8]'
RandomX/src/asm/program_sshash_load.inc:3: Error: unknown mnemonic `xor' -- `xor r10,qword ptr[rbx+16]'
RandomX/src/asm/program_sshash_load.inc:4: Error: unknown mnemonic `xor' -- `xor r11,qword ptr[rbx+24]'
RandomX/src/asm/program_sshash_load.inc:5: Error: unknown mnemonic `xor' -- `xor r12,qword ptr[rbx+32]'
RandomX/src/asm/program_sshash_load.inc:6: Error: unknown mnemonic `xor' -- `xor r13,qword ptr[rbx+40]'
RandomX/src/asm/program_sshash_load.inc:7: Error: unknown mnemonic `xor' -- `xor r14,qword ptr[rbx+48]'
RandomX/src/asm/program_sshash_load.inc:8: Error: unknown mnemonic `xor' -- `xor r15,qword ptr[rbx+56]'
RandomX/src/asm/program_sshash_prefetch.inc:1: Error: operand 1 must be an integer or stack pointer register -- `and rbx,(524288*16-1)'
RandomX/src/asm/program_sshash_prefetch.inc:2: Error: operand 1 must be a SIMD scalar register -- `shl rbx,6'
RandomX/src/asm/program_sshash_prefetch.inc:3: Error: operand 1 must be an integer or stack pointer register -- `add rbx,rdi'
RandomX/src/asm/program_sshash_prefetch.inc:4: Error: unknown mnemonic `prefetchnta' -- `prefetchnta byte ptr[rbx]'
RandomX/src/jit_compiler_x86_static.S:202: Error: unknown mnemonic `lea' -- `lea r8,[rbx+1]'
RandomX/src/asm/program_sshash_prefetch.inc:1: Error: operand 1 must be an integer or stack pointer register -- `and rbx,(524288*16-1)'
RandomX/src/asm/program_sshash_prefetch.inc:2: Error: operand 1 must be a SIMD scalar register -- `shl rbx,6'
RandomX/src/asm/program_sshash_prefetch.inc:3: Error: operand 1 must be an integer or stack pointer register -- `add rbx,rdi'
RandomX/src/asm/program_sshash_prefetch.inc:4: Error: unknown mnemonic `prefetchnta' -- `prefetchnta byte ptr[rbx]'
RandomX/src/jit_compiler_x86_static.S:204: Error: unknown mnemonic `imul' -- `imul r8,qword ptr[r0_mul+rip]'
RandomX/src/jit_compiler_x86_static.S:205: Error: operand 1 must be an integer register -- `mov r9,qword ptr[r1_add+rip]'
RandomX/src/jit_compiler_x86_static.S:206: Error: unknown mnemonic `xor' -- `xor r9,r8'
RandomX/src/jit_compiler_x86_static.S:207: Error: operand 1 must be an integer register -- `mov r10,qword ptr[r2_add+rip]'
RandomX/src/jit_compiler_x86_static.S:208: Error: unknown mnemonic `xor' -- `xor r10,r8'
RandomX/src/jit_compiler_x86_static.S:209: Error: operand 1 must be an integer register -- `mov r11,qword ptr[r3_add+rip]'
RandomX/src/jit_compiler_x86_static.S:210: Error: unknown mnemonic `xor' -- `xor r11,r8'
RandomX/src/jit_compiler_x86_static.S:211: Error: operand 1 must be an integer register -- `mov r12,qword ptr[r4_add+rip]'
RandomX/src/jit_compiler_x86_static.S:212: Error: unknown mnemonic `xor' -- `xor r12,r8'
RandomX/src/jit_compiler_x86_static.S:213: Error: operand 1 must be an integer register -- `mov r13,qword ptr[r5_add+rip]'
RandomX/src/jit_compiler_x86_static.S:214: Error: unknown mnemonic `xor' -- `xor r13,r8'
RandomX/src/jit_compiler_x86_static.S:215: Error: operand 1 must be an integer register -- `mov r14,qword ptr[r6_add+rip]'
RandomX/src/jit_compiler_x86_static.S:216: Error: unknown mnemonic `xor' -- `xor r14,r8'
RandomX/src/jit_compiler_x86_static.S:217: Error: operand 1 must be an integer register -- `mov r15,qword ptr[r7_add+rip]'
RandomX/src/jit_compiler_x86_static.S:218: Error: unknown mnemonic `xor' -- `xor r15,r8'
RandomX/src/jit_compiler_x86_static.S:219: Error: unknown mnemonic `jmp' -- `jmp randomx_program_end'
RandomX/src/jit_compiler_x86_static.S:230: Error: operand 1 must be an integer register -- `mov rcx,rdi'
RandomX/src/asm/randomx_reciprocal.inc:1: Error: operand 1 must be an integer register -- `mov edx,1'
RandomX/src/asm/randomx_reciprocal.inc:2: Error: operand 1 must be an integer register -- `mov r8,rcx'
RandomX/src/asm/randomx_reciprocal.inc:3: Error: unknown mnemonic `xor' -- `xor eax,eax'
RandomX/src/asm/randomx_reciprocal.inc:4: Error: unknown mnemonic `bsr' -- `bsr rcx,rcx'
RandomX/src/asm/randomx_reciprocal.inc:5: Error: operand 1 must be a SIMD scalar register -- `shl rdx,cl'
RandomX/src/asm/randomx_reciprocal.inc:6: Error: unknown mnemonic `div' -- `div r8'
make[2]: *** [Makefile:1416: RandomX/src/cpuminer-jit_compiler_x86_static.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f RandomX/src/.deps/cpuminer-jit_compiler_x86.Tpo RandomX/src/.deps/cpuminer-jit_compiler_x86.Po
mv -f .deps/cpuminer-util.Tpo .deps/cpuminer-util.Po
mv -f .deps/cpuminer-cpu-miner.Tpo .deps/cpuminer-cpu-miner.Po
make[2]: Leaving directory '/root/cpuminer-multi-rx2'
make[1]: *** [Makefile:3499: all-recursive] Error 1
make[1]: Leaving directory '/root/cpuminer-multi-rx2'
make: *** [Makefile:785: all] Error 2
Compilation failed (make=0).
Common causes: missing libjansson-dev libcurl4-openssl-dev libssl-dev
If you pulled updates into this directory, remove configure and try again.

libjansson-dev libcurl4-openssl-dev libssl-dev installed.
Linux Focal arm 64bit

@dhan000 dhan000 changed the title rx2 compile error rx2 compile error arm64 Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant