tevador
abf2a5034e
Make sure AES code is present when setting RANDOMX_FLAG_HARD_AES
2019-10-09 22:06:04 +02:00
tevador
fc892fc5c0
Select AVX2 if both AVX2 and SSSE3 flags are set
2019-10-09 21:37:14 +02:00
tevador
ebbe7696c7
Fix examples
2019-10-09 19:49:54 +02:00
tevador
e0484dfb99
Automatic detection of CPU capabilities
2019-10-08 23:09:35 +02:00
tevador
eda3603bf3
Undefine _mm_roti_epi64 if defined
2019-10-08 22:39:34 +02:00
tevador
cce53cb582
use SSSE3 consistently as opposed to SSE3
2019-10-06 23:46:49 +02:00
tevador
900a936816
Optimized Argon2 (SSSE3/AVX2)
2019-10-06 18:07:23 +02:00
tevador
298cc77095
Benchmark v1.1.3
2019-10-04 08:47:57 +02:00
tevador
0dc104ff7e
Simplify cache init in tests
2019-10-04 08:44:06 +02:00
tevador
89721f1778
Merge branch 'master' of git@github.com:tevador/RandomX.git
2019-10-04 08:35:00 +02:00
tevador
3f1baf150c
Update to toolset v142
2019-10-04 08:34:53 +02:00
hyc
01648b3bd6
Remember cache input data ( #133 )
...
Make init_cache and set_cache no-ops if fed the same data as before
2019-10-04 08:31:32 +02:00
tevador
f1199a9fc6
Merge pull request #131 from xiphon/install-target-randomx-lib
...
CMake install target for randomx library
2019-10-01 18:46:41 +02:00
xiphon
6352949331
CMake install target for randomx library
2019-09-28 12:07:27 +00:00
tevador
f2bb1dd840
Added info about audits
2019-09-27 22:02:32 +02:00
tevador
519b9cf705
Benchmark v1.1.2
2019-09-25 22:24:08 +02:00
tevador
a70dfd8df7
Merge pull request #130 from hyc/gccwin32
...
Fix for win32 build with gcc
2019-09-25 15:23:03 +02:00
tevador
7c405a7dc4
Fix tests without JIT support
2019-09-25 15:15:39 +02:00
Howard Chu
1694aa825d
Fix for win32 build with gcc
2019-09-25 14:01:47 +01:00
tevador
a3d830064b
Merge pull request #128 from SChernykh/master
...
Workaround for a bug in binutils-2.32-1 on ARM
2019-09-24 20:18:35 +02:00
SChernykh
457c0e4a54
Workaround for gcc 8.3 on Arch Linux (ARM)
...
ldr/madd instruction sequence makes compiled binary crash, so separate them.
2019-09-23 22:23:23 +02:00
tevador
32f396dd11
Merge pull request #127 from SChernykh/master
...
Set scratchpad pointer to null by default
2019-09-23 20:24:21 +02:00
SChernykh
9e7ae84de4
Set scratchpad pointer to null by default
2019-09-23 15:56:14 +02:00
tevador
2441730203
Update --jit flag description
2019-09-22 22:29:48 +02:00
tevador
eef87a0f63
Documentation updates
2019-09-22 22:18:28 +02:00
SChernykh
c6468a3816
JIT compiler for ARMv8 ( #125 )
...
JIT compiler for ARMv8
2019-09-22 21:06:22 +02:00
tevador
5fb26fc607
Merge pull request #124 from SChernykh/master
...
Optimized loading from scratchpad
2019-09-18 23:45:30 +02:00
tevador
b797896479
Merge pull request #121 from jtgrassie/msys-cast
...
benchmark: fix MSYS thread handle cast
2019-09-18 23:45:03 +02:00
SChernykh
93fec18991
Optimized loading from scratchpad
2019-09-11 11:48:22 +02:00
Jethro Grassie
73021b89e0
fix MSYS thread handle cast
2019-08-30 17:27:06 -04:00
tevador
f1ff014bca
Fix JIT fallback
2019-08-30 11:29:09 +02:00
tevador
d99af8c51e
Update documentation
2019-08-30 10:16:11 +02:00
tevador
bd8ef0375a
Update benchmark
2019-08-30 09:53:22 +02:00
tevador
eee355d85b
Fixed tests
2019-08-30 09:44:24 +02:00
tevador
22689eda49
Increase the frequency of CBRANCH ( #118 )
2019-08-30 09:28:18 +02:00
wepeng
1fa1ef2047
modify BlakeGenerator chapter error ( #117 )
2019-08-30 09:27:59 +02:00
tevador
67010ab554
Optional W^X policy for JIT pages ( #112 )
2019-08-25 13:47:40 +02:00
tevador
971f10c9c2
Changes recommended by Quarkslab ( #111 )
...
* Corrected bounds for some configuration parameters
* Clarifications in the specification
* Check validity of Argon2 parameters
2019-08-25 13:47:21 +02:00
tevador
91f3edb5eb
Fix use-after-free in benchmark (debug build)
2019-08-05 09:10:10 +02:00
tevador
aa3523238b
Merge pull request #110 from cjdelisle/fix-jit-asm-for-macos
...
Fix a compiler error on Apple OSX because the assembly is not understood
2019-07-31 20:16:45 +02:00
Caleb James DeLisle
058735e508
Fix a compiler error on Apple OSX because the assembly is not understood
2019-07-31 09:47:35 +02:00
tevador
5d815c57c0
Updated readme
2019-07-09 20:45:54 +02:00
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
2019-07-09 20:27:10 +02:00
tevador
47ade5e894
Do not attempt to allocate >= 4 GiB on 32-bit systems ( #99 )
...
+ Cache size limited to 2 GiB
2019-07-09 20:26:50 +02:00
Jethro Grassie
41401797c9
benchmark: affinity cast for mingw ( #96 )
2019-07-03 18:13:38 +02:00
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)
2019-07-03 18:13:20 +02:00
tevador
08f7a2c2f2
Vector intrinsics for ARMv8 ( #93 )
2019-07-03 18:12:38 +02:00
tevador
aaa6e4e881
Sanity checks ( #88 )
2019-06-29 18:53:49 +02:00
tevador
c6b5ec12b6
Fix: possible overflow when using non-standard Dataset size ( #87 )
2019-06-29 18:52:22 +02:00
tevador
b91882be42
Use cmake for building ( #90 )
...
* Use cmake for building
* CMakeLists.txt modified to support full standalone build
* added support for ARCH=native builds
* added PowerPC flags
* added ARMv8 flags
* check for x86 AES-NI at compile time
2019-06-28 19:50:41 +02:00