Christopher Wright
acbf175891
minor Aarch64 JIT changes (better instruction selection, don't emit instructions that add 0, etc)
2025-09-20 08:32:32 -04:00
SChernykh
47d97431bf
Fixed ARMv8 compilation
2024-08-02 17:51:08 +02:00
SChernykh
be8161f9fa
RandomX: correct memcpy size for JIT initialization
...
No buffer overflow, better fix for `_FORTIFY_SOURCE`
2024-04-14 09:13:00 +02:00
SChernykh
5695645daf
Fix RandomX crash when compiled with fortify_source
2024-03-20 21:24:02 +01:00
SChernykh
68a90f7dfc
ARM64 JIT: don't use x18 register
...
From https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms
> The platforms reserve register x18. Don’t use this register.
This PR fixes invalid hashes when running on Apple silicon with the latest macOS SDK.
2023-10-19 17:45:15 +02:00
SChernykh
5d0bf95011
RandomX: optimized program generation
2023-05-21 17:44:20 +02:00
SChernykh
771fb40eca
Update jit_compiler_a64.cpp
2021-02-01 22:52:02 +01:00
SChernykh
e92767eed5
ARM JIT: added missing cache flush
2021-02-01 22:42:35 +01:00
SChernykh
826e540f15
Fixed code allocation for ARM
2021-02-01 22:36:11 +01:00
SChernykh
e3828a13f9
Fixed crashes on ARM
2021-02-01 17:07:45 +01:00
SChernykh
0319b5b622
Added config option for AVX2 dataset init
...
-1 = Auto detect
0 = Always disabled
1 = Enabled if AVX2 is supported
2020-12-19 16:18:49 +01:00
XMRig
e706936763
Reduce JIT memory for ARM.
2020-12-15 02:52:38 +07:00
XMRig
ef691ee323
Alternative secure JIT for macOS.
2020-12-12 21:32:36 +07:00
XMRig
25a9fb2ab4
Fixed secure JIT on Linux and code cleanup.
2020-12-12 19:18:47 +07:00
XMRig
df3831d6f6
Remove duplicated code.
2020-12-12 12:39:11 +07:00
XMRig
84443a4e8b
Added generic secure JIT support for RandomX.
2020-12-11 23:17:54 +07:00
SChernykh
d822ffef36
Fixed Debug build in Visual Studio
2020-10-27 14:08:36 +01:00
SChernykh
7464c4df7c
Fixed ARM compilation
2020-10-07 18:09:42 +02:00
SChernykh
1865d31d0c
RandomX: added huge-pages-jit config parameter
...
Set to false by default, gives 0.2% boost on Ryzen 7 3700X with 16 threads, but hashrate might be unstable on Ryzen between launches. Use with caution.
2020-10-07 17:42:55 +02:00
SChernykh
1e38eb3f4f
RandomX refactoring, moved more stuff to compile time
...
Small x86 JIT compiler speedup.
2020-09-18 20:51:25 +02:00
SChernykh
2ed2629653
Optimized dataset read for Ryzen CPUs
...
Removed register dependency in dataset read, +0.8% speedup on average.
2019-12-08 16:14:02 +01:00
SChernykh
e8c1a8bdd0
Prefer sys_icache_invalidate on iOS
...
Also break compilation with error if clear cache is not available
2019-10-18 18:17:57 +02:00
SChernykh
c4ce4baa69
Fixed __builtin___clear_cache detection
2019-10-18 18:04:13 +02:00
SChernykh
c67f2c2f51
Update jit_compiler_a64.cpp
2019-10-18 16:36:50 +02:00
SChernykh
c31f2bb92b
Update jit_compiler_a64.cpp
2019-10-18 16:32:01 +02:00
SChernykh
5af02671ee
Update jit_compiler_a64.cpp
2019-10-18 16:28:49 +02:00
SChernykh
ab1175a1a7
Fixed code cache cleanup on iOS/Darwin
2019-10-18 16:26:15 +02:00
XMRig
2d7c99cc47
Fix copy/paste typo.
2019-10-18 21:26:15 +07:00
XMRig
84e0b5d0ca
#1246 Fixed build on iOS.
2019-10-18 12:02:10 +07:00
SChernykh
46ef04a4cf
Added JIT compiler for RandomX on ARMv8
2019-09-21 10:10:52 +02:00