mirror of
https://github.com/wownero/RandomX.git
synced 2026-10-20 08:48:45 +02:00
Minor fixes for non-x86 platforms
This commit is contained in:
@@ -38,6 +38,10 @@ namespace RandomX {
|
||||
|
||||
}
|
||||
|
||||
void JitCompilerX86::generateProgramLight(Program& p) {
|
||||
|
||||
}
|
||||
|
||||
size_t JitCompilerX86::getCodeSize() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ static inline uint128_t square128(uint64_t x) {
|
||||
#undef HI
|
||||
|
||||
inline uint64_t squareHash(uint64_t x) {
|
||||
x += 9507361525245169745;
|
||||
x += 9507361525245169745ULL;
|
||||
for (int i = 0; i < 42; ++i) {
|
||||
uint128_t x2 = square128(x);
|
||||
x = x2.lo - x2.hi;
|
||||
|
||||
Reference in New Issue
Block a user