Wownero fails to compile on armv7a. To fix we can:

- update src/crypto/slow-hash.c to the latest version that Monero currently has
- modify variant4_random_math.h to facilitate the changes in slow-hash.c

In short; src/crypto/slow-hash.c is now up to date with upstream Monero.

The next Wownero version will have these changes automatically as the
codebase follows Monero, rendering this commit obsolete in the process.
This commit is contained in:
dsc 2022-05-23 00:52:49 +02:00 committed by wowario
parent 07864cc53f
commit 44c482913f
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111
2 changed files with 463 additions and 210 deletions

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,13 @@ enum V4_Settings
// Always generate at least 60 instructions
NUM_INSTRUCTIONS = 60,
// Always generate at least 60 instructions
NUM_INSTRUCTIONS_MIN = 60,
// Never generate more than 70 instructions (final RET instruction doesn't count here)
NUM_INSTRUCTIONS_MAX = 70,
// Available ALUs for MUL
// Modern CPUs typically have only 1 ALU which can do multiplications
ALU_COUNT_MUL = 1,