Commit graph

58 commits

Author SHA1 Message Date
tevador
eef87a0f63 Documentation updates 2019-09-22 22:18:28 +02:00
tevador
d99af8c51e Update documentation 2019-08-30 10:16:11 +02:00
wepeng
1fa1ef2047 modify BlakeGenerator chapter error (#117) 2019-08-30 09:27:59 +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
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
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
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
83498cddf2
Different round keys for columns 0,1 and 2,3 in AesGenerator4R (#76)
* this fixes identical sequences of columns 0/2 and 1/3 if their states are the same
* added TestU01 results for AesGenerator1R and AesGenerator4R
* added a note about the reversibility of AesHash1R
2019-06-22 15:56:01 +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
0c5b666df4
Configuration guidelines (#59)
* added detailed guidelines for the selection of configuration values
* added additional compile-time checks to prevent bad configurations
* removed RANDOMX_SUPERSCALAR_MAX_SIZE parameter
2019-06-10 15:57:36 +02:00
tevador
e4b2270104
Merge pull request #47 from tevador/pr-doc
Documentation and tests
2019-06-01 11:14:13 +02:00
tevador
f7c99c5b58
Use 4 AES rounds for program generation (#46) 2019-06-01 11:13:30 +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
8a5ead5ce3 Use 'dst' as the CBRANCH condition register
See issue #43
2019-05-21 08:37:36 +02:00
tevador
1029098719 Updated documentation 2019-05-15 23:13:22 +02:00
tevador
a560cec3e7 Clarifications/corrections in the specification/comments
Removed some unused code
2019-05-10 16:43:24 +02:00
tevador
bfc97d5671
Fixed table formatting 2019-05-05 19:34:27 +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
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
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
60d1fa2407 Updated sample program 2019-04-30 21:19:55 +02:00
tevador
3cf6a30076 Fixed biased condition register selection 2019-04-30 10:20:28 +02:00
tevador
ffebc37381 COND_R instruction reworked as CBRANCH
instruction mod field bits reallocated
2019-04-29 23:38:23 +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
f66da3911e Fixed some compilation issues
Code cleanup
2019-04-26 11:07:47 +02:00
tevador
a8c7137873 Linux makefile
Exception handling
2019-04-21 15:04:17 +02:00
tevador
25e6a8abb5 Updated design notes 2019-03-28 17:01:06 +01:00
tevador
ad7b473388 Updated readme 2019-03-28 16:40:53 +01:00
tevador
cc70e53bb1 Updated specification 2019-03-24 16:31:19 +01:00
tevador
6061848444 Updated Dataset block generation algorithm specification 2019-03-15 22:43:23 +01:00
tevador
55a22febbd Design notes: references, branch prediction, memory coherency 2019-03-15 17:58:31 +01:00
tevador
b0faa05fe8 Updated design notes 2019-03-14 21:46:38 +01:00
tevador
5e9a61ab3d Merge branch 'dev' of git@github.com:tevador/RandomX.git into dev 2019-03-13 22:58:48 +01:00
tevador
a2e7e05c40 Improved definition of magic constants 2019-03-13 22:58:22 +01:00
tevador
4a87af7940
Documentation 2019-03-13 17:49:43 +01:00
tevador
0d9beb5418 Draft of RandomX design rationale 2019-03-13 17:42:55 +01:00
tevador
a15e173c3d Full specification 2019-03-13 13:07:34 +01:00
tevador
d9bc6cfeda Updated JIT compiler and assembly generator for new int -> float conversion 2019-02-24 17:24:06 +01:00
tevador
f3b114af88 Replaced division instructions with IMUL_RCP 2019-02-22 17:48:26 +01:00
tevador
f76e8c2e20 Reworked "FNEG" instruction to make ASIC optimizations more difficult 2019-02-13 00:01:34 +01:00
tevador
9af0cbf108 Documentation formatting 2019-02-09 16:09:55 +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