SChernykh
e43267fa86
Fix function names for clang on Apple
5 years ago
tevador
7567cef4c6
Fix symbol collisions with blake2b ( #145 )
5 years ago
tevador
53af68c34a
Benchmark v1.1.5
5 years ago
tevador
e3c5ab7002
Merge branch 'master' of git@github.com:tevador/RandomX.git
5 years ago
tevador
a1f0f90ac2
randomx-tests: do not run unsupported tests
5 years ago
tevador
34aba9dc8a
Merge pull request #142 from ston1th/fix_openbsd_tests
...
Fixed tests on OpenBSD
5 years ago
tevador
4a97ce9a4c
Merge pull request #141 from SChernykh/master
...
Fix alignment for ARMv8 code
5 years ago
ston1th
5c0486bd33
Fixed tests on OpenBSD
...
Since OpenBSD 6.0 W^X is enforced.
Added `RANDOMX_FLAG_SECURE` in tests and benchmarks.
Updated comment.
Excluded `cpu_set_t` since it is not defined on OpenBSD.
5 years ago
ston1th
f3ded36061
Fixed mmap on OpenBSD
...
OpenBSD's mmap does not support `MAP_HUGETLB` and `MAP_POPULATE`.
5 years ago
SChernykh
9a5d504bb3
Fix alignment for ARMv8 code
5 years ago
tevador
b53f0ed145
Benchmark v1.1.4
5 years ago
tevador
5570c698e7
Fix superscalar-stats generator initialization
5 years ago
tevador
be810aca0a
Fix a possible out-of-bounds access in superscalar generator
5 years ago
tevador
4296c35d79
switch on int
5 years ago
tevador
abf2a5034e
Make sure AES code is present when setting RANDOMX_FLAG_HARD_AES
5 years ago
tevador
fc892fc5c0
Select AVX2 if both AVX2 and SSSE3 flags are set
5 years ago
tevador
ebbe7696c7
Fix examples
5 years ago
tevador
e0484dfb99
Automatic detection of CPU capabilities
5 years ago
tevador
eda3603bf3
Undefine _mm_roti_epi64 if defined
5 years ago
tevador
cce53cb582
use SSSE3 consistently as opposed to SSE3
5 years ago
tevador
900a936816
Optimized Argon2 (SSSE3/AVX2)
5 years ago
tevador
298cc77095
Benchmark v1.1.3
5 years ago
tevador
0dc104ff7e
Simplify cache init in tests
5 years ago
hyc
01648b3bd6
Remember cache input data ( #133 )
...
Make init_cache and set_cache no-ops if fed the same data as before
5 years ago
tevador
519b9cf705
Benchmark v1.1.2
5 years ago
tevador
a70dfd8df7
Merge pull request #130 from hyc/gccwin32
...
Fix for win32 build with gcc
5 years ago
tevador
7c405a7dc4
Fix tests without JIT support
5 years ago
Howard Chu
1694aa825d
Fix for win32 build with gcc
5 years ago
SChernykh
457c0e4a54
Workaround for gcc 8.3 on Arch Linux (ARM)
...
ldr/madd instruction sequence makes compiled binary crash, so separate them.
5 years ago
SChernykh
9e7ae84de4
Set scratchpad pointer to null by default
5 years ago
tevador
2441730203
Update --jit flag description
5 years ago
tevador
eef87a0f63
Documentation updates
5 years ago
SChernykh
c6468a3816
JIT compiler for ARMv8 ( #125 )
...
JIT compiler for ARMv8
5 years ago
tevador
5fb26fc607
Merge pull request #124 from SChernykh/master
...
Optimized loading from scratchpad
5 years ago
SChernykh
93fec18991
Optimized loading from scratchpad
5 years ago
Jethro Grassie
73021b89e0
fix MSYS thread handle cast
5 years ago
tevador
f1ff014bca
Fix JIT fallback
5 years ago
tevador
bd8ef0375a
Update benchmark
5 years ago
tevador
eee355d85b
Fixed tests
5 years ago
tevador
22689eda49
Increase the frequency of CBRANCH ( #118 )
5 years ago
tevador
67010ab554
Optional W^X policy for JIT pages ( #112 )
5 years ago
tevador
971f10c9c2
Changes recommended by Quarkslab ( #111 )
...
* Corrected bounds for some configuration parameters
* Clarifications in the specification
* Check validity of Argon2 parameters
5 years ago
tevador
91f3edb5eb
Fix use-after-free in benchmark (debug build)
5 years ago
Caleb James DeLisle
058735e508
Fix a compiler error on Apple OSX because the assembly is not understood
5 years ago
tevador
c433f6d3a8
Fix: hardcoded JIT code buffer size ( #98 )
...
* code buffer size is calculated based on RandomX parameters
* added a maximum value constraint for program size and superscalar latency
* reduced the x86 code size of memory instructions by 1 byte
* disclaimer note in configuration documentation
5 years ago
tevador
47ade5e894
Do not attempt to allocate >= 4 GiB on 32-bit systems ( #99 )
...
+ Cache size limited to 2 GiB
5 years ago
Jethro Grassie
41401797c9
benchmark: affinity cast for mingw ( #96 )
5 years ago
tevador
89aba80925
Refactoring ( #95 )
...
* Blake2Generator::getInt32 renamed to getUInt32 to avoid confusion
* isPowerOf2 renamed to isZeroOrPowerOf2 to avoid confusion
* added asserts to validate the input/output size of AES functions
* fixed possible overflow in JitCompilerX86::getCodeSize (unused function)
5 years ago
tevador
08f7a2c2f2
Vector intrinsics for ARMv8 ( #93 )
5 years ago
tevador
aaa6e4e881
Sanity checks ( #88 )
5 years ago