Commit Graph

44 Commits

Author SHA1 Message Date
SChernykh
3e9755c8c8 Optimized cn-heavy for Zen3
- Uses scratchpad interleaving to access only the closest L3 slice from each CPU core.
- Also activates MSR mod for cn-heavy because CPU prefetchers get confused with interleaving
- 7-8% speedup on Zen3
2021-02-07 22:05:11 +01:00
XMRig
84443a4e8b Added generic secure JIT support for RandomX. 2020-12-11 23:17:54 +07:00
SChernykh
d5f84a813d Fixed errors found by static analysis 2020-12-08 12:16:59 +01:00
SChernykh
f8a0aa06c8 Added argon2/chukwav2 algorithm
New Turtlecoin algorithm. Source: https://github.com/turtlecoin/turtlecoin/blob/development/src/crypto/hash.h#L57
2020-10-12 08:26:57 +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
Jim Huang
3343e373e8 Adopt new SSE2NEON and reduce ARM-specific changes
This patch updated SSE2NEON [1], which contains more functions
provided by Intel intrinsics, only implemented with NEON-based
counterparts to produce the exact semantics of the intrinsics.
Consequently, ARM-specific changes against CryptoNight_arm can
be reduced as well.

[1] https://github.com/DLTcollab/sse2neon/
2020-07-11 01:55:11 +08:00
XMRig
a4032b9f4f Merge branch 'dev' into evo 2020-06-07 21:25:31 +07:00
SChernykh
63dd56831e Fixed GCC 10.1 issues
- Fixed uninitialized `state->x` warning
- Fixed broken code with `-O3` or `-Ofast`
2020-06-07 16:23:17 +02:00
SChernykh
2ab164caf2 Conceal (CCX) support 2020-06-07 01:01:45 +02:00
SChernykh
f24da62db0 KawPow WIP 2020-05-27 16:19:57 +02:00
XMRig
4f14ca77d7 Move CnAlgo 2020-04-23 12:34:26 +07:00
XMRig
ed44b0c009 Move files. 2020-03-09 01:22:34 +07:00
XMRig
fbe42fe743 Make "astrobwt" as primary user visible algorithm name. 2020-03-01 10:21:29 +07:00
SChernykh
1ccf408ba7 AstroBWT algorithm (DERO) support
To test:

- Download https://github.com/deroproject/derosuite/releases/tag/AstroBWT
- Run daemon with `--testnet` in command line

In config.json:
- "coin":"dero"
- "url":"127.0.0.1:30306"
- "daemon:"true"
2020-02-29 22:41:24 +01:00
XMRig
d74775d702 Added "cn-pico/tlo". 2019-12-29 00:29:19 +07:00
XMRig
2b3840a3d4 Added CudaLib stub. 2019-10-25 16:46:49 +07:00
XMRig
121bd87491 Split config generator to separated files. 2019-09-06 19:38:22 +07:00
XMRig
a74c04007f Print detailed information about OpenCL threads. 2019-09-05 13:00:40 +07:00
XMRig
c91dcc6837 Relax cn algorithm constants definition. 2019-09-04 13:22:20 +07:00
XMRig
df5fd65a45 Merge branch 'dev' into feature-opencl 2019-08-30 16:47:51 +07:00
XMRig
61c6edddc7 Removed Linux specific code from Windows only ASM file. 2019-08-30 13:49:58 +07:00
Matt Smith
8f4aa6871a Fix linker marking entire executable as executable stack
See: https://wiki.ubuntu.com/SecurityTeam/Roadmap/ExecutableStacks
See: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart
2019-08-29 14:12:43 +01:00
XMRig
5588fa13c6 Removed cn/wow algorithm (coin forked to rx/wow). 2019-08-27 09:34:08 +07:00
XMRig
684321a7f2 Added classes IOclRunner, OclBaseRunner, OclCnRunner, OclRxRunner. 2019-08-26 04:44:01 +07:00
XMRig
c23a6f7a29 Added OclDevice and partially autoconfig. 2019-08-22 22:39:36 +07:00
XMRig
9861f9eadd Added selection for optimized Argon2 implementation. 2019-08-17 01:42:03 +07:00
XMRig
faf18262eb Added generic Argon2 implementation (conflicts with RandomX). 2019-08-16 00:31:29 +07:00
XMRig
ca23430933 "GET /1/threads" replaced to "GET /2/backends". 2019-07-19 04:22:21 +07:00
XMRig
f5eb079366 Fixed build. 2019-07-17 05:01:12 +07:00
XMRig
c8736cac5e Implemented unified cryptonight and RandomX scratchpad memory. 2019-07-17 04:33:11 +07:00
XMRig
fe2ae04f8d Added initial support for new style threads launch method. 2019-07-16 22:10:50 +07:00
XMRig
e31433928f Removed xmrig.h. 2019-07-13 19:10:17 +07:00
XMRig
2a3b27be06 Merge branch 'evo' into feature-per-pool-algo 2019-07-06 10:49:31 +07:00
XMRig
7287119d60 Move CPU information classes to new location. 2019-06-29 09:51:23 +07:00
XMRig
14a937cf70 Merge Assembly enum and Asm class. 2019-06-28 13:08:08 +07:00
XMRig
8eb1cc8731 Merge branch 'evo' into feature-per-pool-algo 2019-06-26 15:44:52 +07:00
XMRig
ee6043ac2f Move RandowWOW to new global algorithm. 2019-06-25 08:21:40 +07:00
XMRig
5d4287296e Merge branch 'feature-randomx' into evo 2019-06-18 05:33:30 +07:00
XMRig
e5e427596a Moved keccak files. 2019-06-17 04:06:38 +07:00
XMRig
4d09488728 Fixed ARM mining code. 2019-06-15 00:28:16 +07:00
XMRig
bbd28e8535 Implemented new style algorithm definitions (except ARM), removed Algo and Variant enums. 2019-06-13 22:08:52 +07:00
XMRig
6ed03b8b01 Renamed macros for enable/disable algorithms. 2019-06-09 15:29:26 +07:00
XMRig
358d191e1d Fixed ARM build, again. 2019-06-04 19:49:54 +07:00
XMRig
254a2f86f8 Move files. 2019-06-04 19:20:33 +07:00