mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-08 21:14:14 +00:00
Opcode should be ULL.
This commit is contained in:
parent
a8be6851a9
commit
826cc4800e
2
ocl.c
2
ocl.c
@ -154,7 +154,7 @@ void patch_opcodes(char *w, unsigned remaining)
|
|||||||
} else if (alu_inst == OP3_INST_BYTE_ALIGN_INT) {
|
} else if (alu_inst == OP3_INST_BYTE_ALIGN_INT) {
|
||||||
count_byte_align++;
|
count_byte_align++;
|
||||||
// patch this instruction to BFI_INT
|
// patch this instruction to BFI_INT
|
||||||
*opcode &= 0xfffc1fffffffffffUL;
|
*opcode &= 0xfffc1fffffffffffULL;
|
||||||
*opcode |= OP3_INST_BFI_INT << (32 + 13);
|
*opcode |= OP3_INST_BFI_INT << (32 + 13);
|
||||||
patched++;
|
patched++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user