diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-02-27 14:44:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-02-27 14:44:59 +0200 |
commit | 7c863a9fa51e7c48f2bcb77c21324827fb7f5833 (patch) | |
tree | 97ed8ce9cf0ede6188aeacb6f473d5eecc17e135 /src/crypto/CryptonightR_template.h | |
parent | Merge pull request #5194 (diff) | |
parent | CryptonightR: define out i386/x86_64 specific code on other archs (diff) | |
download | monero-7c863a9fa51e7c48f2bcb77c21324827fb7f5833.tar.xz |
Merge pull request #5184
0ec360b4 CryptonightR: define out i386/x86_64 specific code on other archs (moneromooo-monero)
773509dd slow-hash: fix build on arm (moneromooo-monero)
0cb6a763 cmake: ARCH_ID fixes for cross compilation (TheCharlatan)
Diffstat (limited to 'src/crypto/CryptonightR_template.h')
-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 |