mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Use XMRIG_ARMv8 macro
This commit is contained in:
parent
3953568a0e
commit
e3f726796b
2 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#if defined(_M_X64) || defined(__x86_64__)
|
#if defined(_M_X64) || defined(__x86_64__)
|
||||||
#include "crypto/randomx/jit_compiler_x86_static.hpp"
|
#include "crypto/randomx/jit_compiler_x86_static.hpp"
|
||||||
#elif defined(XMRIG_ARM) && defined(__aarch64__)
|
#elif defined(XMRIG_ARMv8)
|
||||||
#include "crypto/randomx/jit_compiler_a64_static.hpp"
|
#include "crypto/randomx/jit_compiler_a64_static.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ void RandomX_ConfigurationBase::Apply()
|
||||||
|
|
||||||
#define JIT_HANDLE(x, prev) randomx::JitCompilerX86::engine[k] = &randomx::JitCompilerX86::h_##x
|
#define JIT_HANDLE(x, prev) randomx::JitCompilerX86::engine[k] = &randomx::JitCompilerX86::h_##x
|
||||||
|
|
||||||
#elif defined(XMRIG_ARM) && defined(__aarch64__)
|
#elif defined(XMRIG_ARMv8)
|
||||||
|
|
||||||
Log2_ScratchpadL1 = Log2(ScratchpadL1_Size);
|
Log2_ScratchpadL1 = Log2(ScratchpadL1_Size);
|
||||||
Log2_ScratchpadL2 = Log2(ScratchpadL2_Size);
|
Log2_ScratchpadL2 = Log2(ScratchpadL2_Size);
|
||||||
|
|
|
@ -133,7 +133,7 @@ struct RandomX_ConfigurationBase
|
||||||
|
|
||||||
uint32_t ConditionMask_Calculated;
|
uint32_t ConditionMask_Calculated;
|
||||||
|
|
||||||
#if defined(XMRIG_ARM) && defined(__aarch64__)
|
#if defined(XMRIG_ARMv8)
|
||||||
uint32_t Log2_ScratchpadL1;
|
uint32_t Log2_ScratchpadL1;
|
||||||
uint32_t Log2_ScratchpadL2;
|
uint32_t Log2_ScratchpadL2;
|
||||||
uint32_t Log2_ScratchpadL3;
|
uint32_t Log2_ScratchpadL3;
|
||||||
|
|
Loading…
Reference in a new issue