Commit Graph

30 Commits

Author SHA1 Message Date
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 fc892fc5c0 Select AVX2 if both AVX2 and SSSE3 flags are set 2019-10-09 21:37:14 +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
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 eef87a0f63 Documentation updates 2019-09-22 22:18:28 +02:00
tevador aaa6e4e881
Sanity checks (#88) 2019-06-29 18:53:49 +02:00
tevador 2706a8b753 Relicensed under the 3-clause BSD license 2019-05-18 14:21:47 +02:00
tevador c5c891ff8e Correctly call JitCompiler destructor
Fix cmake/ccache
2019-05-18 00:14:43 +02:00
tevador 3dd21ea93d Prepare for JIT compiler support for other platforms 2019-05-12 22:31:48 +02:00
tevador cf72ed79c7 Function typedefs without pointer 2019-04-28 18:17:29 +02:00
tevador 7f6bdd9a52 Code cleanup & refactoring 2019-04-28 16:42:45 +02:00
tevador 22a3aa8d79 randomx_cache and randomx_dataset changed to standard-layout structs 2019-04-28 12:44:28 +02:00
tevador 87b8253374 API documentation
'dataset block' -> 'dataset item'
customizable benchmark seed
2019-04-22 15:13:41 +02:00
tevador 41557ce010 randomx project changed to a static library
separate benchmark project
API usage examples
2019-04-21 00:20:21 +02:00
tevador d7eefce583 Removed capital letters from filenames 2019-04-20 16:53:06 +02:00
tevador 296e77eebc C API - first working version 2019-04-20 11:08:01 +02:00
tevador 6b344b81fd initBlock asm version (disabled) 2019-03-17 00:57:48 +01:00
tevador edde7672e0 initBlock: cycle columns, asm implementation 2019-03-15 18:00:51 +01:00
tevador 2edf05cedc Implemented Dataset size increase per epoch 2019-03-10 23:14:03 +01:00
tevador e65d9da66c Configurable parameters separated into configuration.h 2019-03-08 15:34:34 +01:00
tevador 096a7c0d7b Implemented virtual memory free
Removed legacy AES code
2019-03-08 11:46:03 +01:00
tevador 1df975e583 Restored software AES support 2019-02-13 22:46:32 +01:00
tevador 32d827d0a6 Interpreter with bytecode
Fixed some undefined behavior with signed types
Fixed different results on big endian systems
Removed unused code files
Restored FNEG_R instructions
Updated documentation
2019-02-09 15:45:26 +01:00
tevador 16db607025 Scratchpad size increased to 1 MiB
New AES-based scratchpad hashing function
2019-01-18 23:51:18 +01:00
tevador 4fb168e249 Large page support for cache
Bug fixes
2019-01-18 17:57:47 +01:00
tevador 8b1102ee05 Interpreter + async mode 2019-01-15 00:01:11 +01:00
tevador 619bee5418 Random dataset accesses - asm only
Initial support for large pages
2019-01-04 19:44:15 +01:00
tevador b9d2d853aa Support for multiple threads 2018-12-19 21:54:44 +01:00
tevador c9102ee88c RandomX portable interpreter 2018-12-11 21:00:30 +01:00