Commit Graph
100 Commits
Author SHA1 Message Date
tevador 3910d49b49 Hide tempHash from the public API 2019-12-01 18:19:09 +01:00
tevador e3561d661e Updated readme with RandomX Sniffer 2019-12-01 11:52:56 +01:00
tevador 65fae68287 Add GPG public key 2019-11-29 15:12:28 +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 79c53ae9b0 Improve install target (fixed) 2019-11-19 22:51:43 +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 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
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 7c405a7dc4 Fix tests without JIT support 2019-09-25 15:15:39 +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
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 91f3edb5eb Fix use-after-free in benchmark (debug build) 2019-08-05 09:10:10 +02:00
tevador 4a4b06e44b More helpful error messages in the benchmark
Move reciprocal tests before Dataset initialization
Fix randomx.dll project
2019-06-28 10:37:41 +02:00
tevador 1f62d787ad Fix header dependency of superscalar_program.hpp
Fix tests
Fix a typo in design.md
2019-06-24 13:58:41 +02:00
tevador e6ba0a1b7d Code generator fixups
- fixed a crash in Instruction::print
- new example program
- added a design note about the number of x86 instruction per VM instruction
2019-06-23 23:10:29 +02:00
tevador 77f809e8db Merge branch 'jtgrassie-affinity' 2019-06-22 23:28:05 +02:00
tevador e8cf27eab5 Fixed Visual Studio build
Moved affinity to tests
Fixed strange output from mask_to_string
2019-06-22 23:11:24 +02:00
tevador 8282413154 Updated documentation and test vectors
Added AesGenerator1R test
Added benchmark hints if large pages fail
2019-06-22 17:42:26 +02:00
tevador 7edae5a4e4 Fix possible overflow in static_assert 2019-06-11 11:00:36 +02:00
tevador 984d34b079 Merge branch 'master' of git@github.com:tevador/RandomX.git 2019-06-10 16:37:09 +02:00
tevador 3daceace48 Clarifications in the documentation 2019-06-10 16:36:55 +02:00
tevador 8298c9faf8 Much more detailed design description
Added runtime distribution test
Fixed inaccurate results of performance simulations
Program publicly accessible in randomx_vm class
2019-06-01 11:02:40 +02:00
tevador e9cf3e0894 Enable c++11 in cmake 2019-05-31 00:51:30 +02:00
tevador bc2aae0f61 Support Dataset size larger than 4 GiB
Support arbitrary value of RANDOMX_DATASET_EXTRA_SIZE
2019-05-29 17:27:49 +02:00
tevador 378d5def38 Added performance simulation 2019-05-21 11:24:49 +02:00
tevador 8a5ead5ce3 Use 'dst' as the CBRANCH condition register
See issue #43
2019-05-21 08:37:36 +02:00
tevador 1276d67d2f Fix build on Cygwin/MinGW 2019-05-18 19:30:28 +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 ec29d5320d Enable position independent code 2019-05-17 11:35:08 +02:00
tevador ac22aed121 Proper C declaration without parameters 2019-05-16 20:40:06 +02:00
tevador 1029098719 Updated documentation 2019-05-15 23:13:22 +02:00
tevador 42cb2fc852 Fixed non-x86 compilation 2019-05-15 22:35:45 +02:00
tevador 2b3a03a9dc Fixed FSCAL instruction causing group F registers to exceed their intended maximum value 2019-05-15 22:07:26 +02:00
tevador 2a04dfdd4f Fixed x87 math precision (i386 build) 2019-05-15 16:30:20 +02:00
tevador 177d2e7c98 Minor fixes in readme 2019-05-15 14:13:49 +02:00
tevador afaeff6066 Fixed incorrect sqrt results on 32bit targets using x87 math
Cleaner implementation of FSWAP
2019-05-15 13:23:50 +02:00
tevador 1aa7865619 Abstracted away from x86 intrinsics 2019-05-14 09:13:38 +02:00
tevador 3dd21ea93d Prepare for JIT compiler support for other platforms 2019-05-12 22:31:48 +02:00
tevador a560cec3e7 Clarifications/corrections in the specification/comments
Removed some unused code
2019-05-10 16:43:24 +02:00
tevador 3f7139d3aa Fixed a possibility of buffer overflow in Superscalar generator 2019-05-09 08:29:42 +02:00
tevador bdc593fd5c Merge branch 'master' of git@github.com:tevador/RandomX.git 2019-05-06 18:56:04 +02:00
tevador a78429202b Query for LargePageMinimum on Windows 2019-05-06 18:18:52 +02:00
tevador c1314dc2a2 Use values from configuration.h in assembly code 2019-05-06 18:14:00 +02:00
tevador 03dd2f397f New sample program 2019-05-05 19:27:06 +02:00
tevador 4934bbf69d Updated documentation 2019-05-05 19:08:18 +02:00
tevador 40a08bb0c8 Fixed incorrect latency of mul_r in SuperscalarHash 2019-05-05 14:49:00 +02:00
tevador a22e3b3cb0 30% faster JIT compiler 2019-05-04 19:40:25 +02:00
tevador b1f1e1d6ad Fixed IMUL_RCP if divisor is a power of 2 2019-05-04 18:00:17 +02:00
tevador 197cd90e07 Updated readme 2019-05-03 22:09:52 +02:00
tevador b62b1f8717 Added scratchpad entropy test 2019-05-03 16:57:33 +02:00
tevador cb3d57376f Fixed API examples 2019-05-03 16:50:05 +02:00
tevador 1037cc0139 Removed some legacy code 2019-05-03 15:33:51 +02:00
tevador 9e5eac8645 Fixed a chance of CBRANCH looping
Fixed CBRANCH jump probability being lower than expected
2019-05-03 14:02:40 +02:00
tevador 5241cb902e Partially updated specification 2019-05-02 20:52:14 +02:00
tevador 01db567e9d Fixed an inconsistency in IADD_RS in SuperscalarHash 2019-05-01 14:46:51 +02:00
tevador c87dcc8ae5 Cache seed renamed to key 2019-05-01 14:40:13 +02:00
tevador 1a4bde36be Fixed a missing header dependency 2019-04-30 21:33:02 +02:00
tevador 60d1fa2407 Updated sample program 2019-04-30 21:19:55 +02:00
tevador ca96270509 Group E exponent changed from a static value (-240) to dynamic 2019-04-30 21:14:50 +02:00
tevador be21ba767c Doubled the frequency of CBRANCH, halved the jumping probability 2019-04-30 14:09:46 +02:00
tevador 3cf6a30076 Fixed biased condition register selection 2019-04-30 10:20:28 +02:00
tevador 5543fb5f2f Removed unused code 2019-04-30 09:12:43 +02:00
tevador ffebc37381 COND_R instruction reworked as CBRANCH
instruction mod field bits reallocated
2019-04-29 23:38:23 +02:00
tevador ebddaf671c Alignment of x86 code for SuperscalarHash made optional 2019-04-29 20:19:34 +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 fd7186f873 Changed IADD_RS to use mod.mem 2019-04-27 23:52:26 +02:00
tevador ff88a57a98 Fixed reading from the red zone 2019-04-26 23:32:10 +02:00
tevador e758c1e2b2 Fixed non-x86 compilation 2019-04-26 21:05:41 +02:00
tevador 270a4f97fe Dataset size increased to 2080 MiB
Implemented dataset base offset
Tweaked SuperscalarHash constants to prevent register collisions
2019-04-26 16:05:30 +02:00
tevador f66da3911e Fixed some compilation issues
Code cleanup
2019-04-26 11:07:47 +02:00
tevador 018c1a5222 Big endian bug fixes 2019-04-24 18:37:58 +02:00
tevador 1c3666aa98 Fixed benchmark code 2019-04-23 22:27:23 +02:00
tevador b4dca14f0c Added a function to access the dataset memory buffer
Number of dataset items changed from a macro to a getter function.
2019-04-23 22:15:55 +02:00
tevador 59d82bbb01 Fixed doc 2019-04-22 19:08:45 +02:00