Vladimir
01914b49cd
Fixes for cmake build with visual studio ( #144 )
...
* Fixed CMake configuration for visual studio build
Added proper asm source and set correct type.
* Disabled stadard layout check of randomx_cache for visual studio debug
Required to silence static_assert which fails on Visual Studio Debug
configuation.
* Fixed warning message and defines check
* Removed unsupported flags for MSVC compiler
* Enabled AVX2 for msvc
* Fixed formatting in CmakeLists
* Added generation of configuration.asm by CMake for MSVC
2019-11-22 18:24:16 +01:00
tevador
7e20c8e56e
Merge pull request #161 from tevador/pr-struct
...
Fix inconsistent class/struct usage
2019-11-22 18:23:11 +01:00
tevador
7646cfede6
Add a note about safe key usage
2019-11-22 18:20:43 +01:00
tevador
88268ae325
Improved benchmark instructions
2019-11-22 18:16:58 +01:00
tevador
57545d1c53
Fix inconsistent class/struct usage
2019-11-19 23:17:55 +01:00
tevador
cb299e5a25
Merge pull request #158 from tevador/revert-150-dev/beber/build
...
Revert "dev/beber/build: improve install target"
2019-11-15 20:33:09 +01:00
tevador
4381ec3c89
Revert "dev/beber/build: improve install target ( #150 )"
...
This reverts commit 66c039030f
.
2019-11-15 20:28:19 +01:00
tevador
5e53ed9409
Merge pull request #156 from SChernykh/pr-apple
...
Fix function names for clang on Apple
2019-11-15 12:56:18 +01:00
Bertrand Jacquin
66c039030f
dev/beber/build: improve install target ( #150 )
...
* build: remove hardcoded lib/ destination
cmake internally has a logic to know where is the best place to install
a given library. For example on amd64 it does not make sense to install
the library in /usr/lib, this change allow the library to the installed
in /usr/lib64
* build: mark src/randomx.h as a public header
this allow src/randomx.h to be installed in /usr/include/randomx.h
automagically during make install
2019-11-15 12:55:11 +01:00
SChernykh
e43267fa86
Fix function names for clang on Apple
2019-11-12 13:04:11 +01:00
tevador
7567cef4c6
Fix symbol collisions with blake2b ( #145 )
2019-10-30 20:09:27 +01:00
tevador
53af68c34a
Benchmark v1.1.5
2019-10-23 17:02:22 +02:00
tevador
e3c5ab7002
Merge branch 'master' of git@github.com:tevador/RandomX.git
2019-10-23 16:57:44 +02:00
tevador
a1f0f90ac2
randomx-tests: do not run unsupported tests
2019-10-23 16:57:25 +02:00
tevador
34aba9dc8a
Merge pull request #142 from ston1th/fix_openbsd_tests
...
Fixed tests on OpenBSD
2019-10-23 16:48:13 +02:00
tevador
4a97ce9a4c
Merge pull request #141 from SChernykh/master
...
Fix alignment for ARMv8 code
2019-10-23 16:47:48 +02:00
Vladimir (Alkenso)
941dfed647
Update CMakeLists.txt ( #140 )
...
Changed file type of src/jit_compiler_a64_static.S to 'ASM'
2019-10-23 16:47:30 +02:00
tevador
a5d16890c2
Merge pull request #139 from ston1th/fix_openbsd_mmap
...
Fixed mmap on OpenBSD
2019-10-23 16:46:49 +02:00
tevador
4f8f7f6ebb
Merge pull request #143 from wepeng/RandomX-wepeng
...
modify Datset to Dataset
2019-10-23 16:46:25 +02:00
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.
2019-10-20 14:23:33 +02:00
wepeng
068f65339a
modify Datset to Dataset
2019-10-20 18:27:54 +08:00
ston1th
f3ded36061
Fixed mmap on OpenBSD
...
OpenBSD's mmap does not support `MAP_HUGETLB` and `MAP_POPULATE`.
2019-10-20 10:36:46 +02:00
SChernykh
9a5d504bb3
Fix alignment for ARMv8 code
2019-10-19 00:20:09 +02:00
tevador
b53f0ed145
Benchmark v1.1.4
2019-10-11 12:37:17 +02:00
tevador
5570c698e7
Fix superscalar-stats generator initialization
2019-10-11 12:04:55 +02:00
tevador
be810aca0a
Fix a possible out-of-bounds access in superscalar generator
2019-10-11 11:31:05 +02:00
tevador
4296c35d79
switch on int
2019-10-10 07:48:03 +02:00
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