diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-26 16:58:45 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-05 10:24:24 +0000 |
commit | 108c625b3f96d718677aa9eee5c6490894ca152a (patch) | |
tree | 01313a7ac6efed723a88e4063478539323fd556b /src/crypto/CryptonightR_template.h | |
parent | slow-hash: fix build on arm (diff) | |
download | monero-108c625b3f96d718677aa9eee5c6490894ca152a.tar.xz |
CryptonightR: define out i386/x86_64 specific code on other archs
Diffstat (limited to '')
-rw-r--r-- | src/crypto/CryptonightR_template.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/CryptonightR_template.h b/src/crypto/CryptonightR_template.h index 57eb92ebe..dab1bd750 100644 --- a/src/crypto/CryptonightR_template.h +++ b/src/crypto/CryptonightR_template.h @@ -1,6 +1,8 @@ #ifndef CRYPTONIGHTR_TEMPLATE_H #define CRYPTONIGHTR_TEMPLATE_H +#if defined __i386 || defined __x86_64__ + void CryptonightR_instruction0(void); void CryptonightR_instruction1(void); void CryptonightR_instruction2(void); @@ -1036,4 +1038,6 @@ const void* instructions_mov[257] = { CryptonightR_instruction_mov256, }; +#endif + #endif // CRYPTONIGHTR_TEMPLATE_H |