Commit graph

242 commits

Author SHA1 Message Date
cohcho
5f0f2506e8 soft_aes: fix previous optimization
Previously removed unrolled variant is faster on some CPUs
Some CPUs are faster with added unrolled variant
The best variant depends on number of threads on some CPUs
2020-10-04 14:47:58 +00:00
MoneroOcean
61fed602be Merge xmrig v6.3.5 2020-10-03 19:45:28 +00:00
SChernykh
ebf259fa7c RandomX: removed rx/loki
Loki forks to PoS on October 9th.
2020-10-02 17:02:52 +02:00
XMRig
d45bb24a32
Renamed WITH_SSE to WITH_SSE4_1 and make it work on all platforms. 2020-10-01 11:00:08 +07:00
SChernykh
7b4f768114 RandomX: optimized soft AES code
Unrolled loop was 5-10% slower depending on CPU.
2020-09-29 21:22:11 +02:00
xmrig
dfab81e9fa
Merge pull request #1858 from SChernykh/dev
RandomX: removed duplicate constants in Blake2b
2020-09-27 16:51:03 +07:00
SChernykh
3025c265e8 RandomX: removed duplicate constatns in Blake2b 2020-09-27 11:50:08 +02:00
xmrig
ee603ab9e2
Merge pull request #1857 from SChernykh/dev
RandomX: isolate SSE4.1 code to fix crashes on old CPUs
2020-09-27 16:47:56 +07:00
SChernykh
84f8a0dc54 RandomX: isolate SSE4.1 code to fix crashes on old CPUs 2020-09-27 11:46:32 +02:00
cohcho
9be3b69109 soft_aes: fix previous optimization
the best order of hash/fill/prefetch depends on hw/soft AES
only hw AES is faster after previous optimization
2020-09-25 15:26:19 +00:00
SChernykh
1e26e58660 Fix for ARM compilation 2020-09-23 11:44:08 +02:00
MoneroOcean
f9c7ee9002 Merge xmrig v6.3.4 sources 2020-09-23 01:14:02 +00:00
MoneroOcean
8c3eae0598 Merge xmrig v6.3.4 sources 2020-09-23 01:08:40 +00:00
MoneroOcean
9514cfd7fd Merge xmrig v6.3.4 sources 2020-09-23 01:05:58 +00:00
MoneroOcean
78c018a2d6 Merge xmrig v6.3.4 sources 2020-09-23 00:56:44 +00:00
MoneroOcean
c715fc618c Fixed merge errors 2020-09-23 00:50:15 +00:00
MoneroOcean
21b156cbda Merge xmrig v6.3.4 sources 2020-09-23 00:25:27 +00:00
SChernykh
9768bf65d1 RandomX improved performance of GCC compiled binaries
JIT compilator was slower compared to MSVC compiled binary. Up to +0.1% speedup on rx/wow in Linux.
2020-09-22 13:48:11 +02:00
SChernykh
891a46382e RandomX: AES improvements
- A bit faster hardware AES code when compiled with MSVC
- More reliable software AES benchmark
2020-09-21 17:51:08 +02:00
SChernykh
c7476e076b RandomX refactoring, moved more stuff to compile time
Small x86 JIT compiler speedup.
2020-09-18 20:51:25 +02:00
SChernykh
8d1168385a RandomX: returned old soft AES impl and auto-select between the two 2020-09-15 20:48:27 +02:00
SChernykh
a05393727c RandomX: added performance profiler (for developers)
Also optimized Blake2b SSE4.1 code size to avoid code cache pollution.
2020-09-12 23:07:52 +02:00
SChernykh
4a9db89527 RandomX: added SSE4.1-optimized Blake2b
+0.15% on `rx/0`
+0.3% on `rx/wow`
2020-09-10 14:28:40 +02:00
SChernykh
a84b45b1bb RandomX: added parameter for scratchpad prefetch mode
`scratchpad_prefetch_mode` can have 4 values:
0: off
1: use `prefetcht0` instruction (default, same as previous XMRig versions)
2: use `prefetchnta` instruction (faster on Coffee Lake and a few other CPUs)
3: use `mov` instruction
2020-09-04 16:16:07 +02:00
MoneroOcean
a6b6f22d08 Merge xmrig v6.3.3 2020-08-28 08:18:41 -07:00
XMRig
72c8404d18
Fix compile warnings. 2020-08-24 10:04:46 +07:00
MoneroOcean
651306a57a xmrig v6.3.2 merge 2020-08-20 08:57:55 -07:00
XMRig
3e4bf8cd6c
Fix compile warning 2020-08-17 06:08:14 +07:00
XMRig
00b4ae9c36
Fixed compile warning and updated build.uv.sh. 2020-08-16 16:03:27 +07:00
SChernykh
5926dee354 RandomX JIT: optimized address mask calculation 2020-08-12 16:45:16 +02:00
MoneroOcean
22c39226b0 xmrig v6.3.1 merge 2020-07-31 12:04:00 -07:00
SChernykh
5bc89fdc8b Fixed RandomX initialization for VS debug builds 2020-07-21 10:10:07 +02:00
MoneroOcean
5499d5a97a Panthera algo fix 2020-07-16 20:06:33 -07:00
MoneroOcean
2a40277cf9 Try to move to MinGW builds on Windows 2020-07-16 18:27:54 -07:00
MoneroOcean
8de748fa65 Fixed bug 2020-07-16 18:03:54 -07:00
MoneroOcean
47acc49471 Fixed bug 2020-07-16 17:59:29 -07:00
MoneroOcean
b9a84ef8e1 Fixed bug 2020-07-16 17:34:44 -07:00
MoneroOcean
087715bd93 Fixed bug 2020-07-16 17:29:30 -07:00
MoneroOcean
338b0b10f5 Fixed bug 2020-07-16 17:13:24 -07:00
MoneroOcean
176f0edef3 Fixed bug 2020-07-16 17:03:34 -07:00
MoneroOcean
b994d6f8c8 Fixed bug 2020-07-16 16:51:09 -07:00
MoneroOcean
26e91c516b Fixed bug 2020-07-16 16:50:43 -07:00
MoneroOcean
5eafa9e455 Panthera algo implementation 2020-07-16 16:43:19 -07:00
Tony Butler
c4ff8c4064 Cleanup MoneroOcean patchset 2020-07-10 04:02:42 -06:00
MoneroOcean
aaaaf5c1ed Merged xmrig v6.2.3 2020-07-09 10:24:41 -07:00
SChernykh
3d740e81a2 RandomX: tweaked Ryzen code
Very small speedup
2020-07-05 16:06:59 +02:00
Tony Butler
30fdc92884 Cleanup MoneroOcean patchset 2020-06-10 18:50:25 -07:00
MoneroOcean
51c783a313 Merge https://github.com/xmrig/xmrig 2020-05-23 11:13:42 -07:00
XMRig
b34e3e1a7b
Remove unused code. 2020-05-04 02:07:38 +07:00
SChernykh
80d944bf82 Optimized RandomX dataset initialization
- Use single Argon2 implemenation
- Auto-select the fastest Argon2 implementation for RandomX
2020-05-03 20:44:59 +02:00