Jethro Grassie
73021b89e0
fix MSYS thread handle cast
5 years ago
tevador
bd8ef0375a
Update benchmark
5 years ago
tevador
eee355d85b
Fixed tests
5 years ago
tevador
67010ab554
Optional W^X policy for JIT pages ( #112 )
5 years ago
tevador
91f3edb5eb
Fix use-after-free in benchmark (debug build)
5 years ago
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
5 years ago
Jethro Grassie
41401797c9
benchmark: affinity cast for mingw ( #96 )
5 years ago
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)
5 years ago
tevador
aaa6e4e881
Sanity checks ( #88 )
5 years ago
tevador
4a4b06e44b
More helpful error messages in the benchmark
...
Move reciprocal tests before Dataset initialization
Fix randomx.dll project
5 years ago
tevador
1f62d787ad
Fix header dependency of superscalar_program.hpp
...
Fix tests
Fix a typo in design.md
5 years ago
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
5 years ago
tevador
77f809e8db
Merge branch 'jtgrassie-affinity'
5 years ago
tevador
e8cf27eab5
Fixed Visual Studio build
...
Moved affinity to tests
Fixed strange output from mask_to_string
5 years ago
tevador
8282413154
Updated documentation and test vectors
...
Added AesGenerator1R test
Added benchmark hints if large pages fail
5 years ago
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
5 years ago
tevador
07293a9378
Regression tests ( #73 )
...
* instruction decode/execute separated into class BytecodeMachine
* added randomx-tests project
* removed the use of non-portable __COUNTER__ macro
* removed the use of unsupported FENV_ACCESS pragma
5 years ago
Jethro Grassie
81d3a9d4a1
benchmark: add thread affinity setting
5 years ago
tevador
e4b2270104
Merge pull request #47 from tevador/pr-doc
...
Documentation and tests
5 years ago
tevador
f7c99c5b58
Use 4 AES rounds for program generation ( #46 )
5 years ago
tevador
8298c9faf8
Much more detailed design description
...
Added runtime distribution test
Fixed inaccurate results of performance simulations
Program publicly accessible in randomx_vm class
5 years ago
tevador
378d5def38
Added performance simulation
5 years ago
tevador
8a5ead5ce3
Use 'dst' as the CBRANCH condition register
...
See issue #43
5 years ago
tevador
2706a8b753
Relicensed under the 3-clause BSD license
5 years ago
tevador
1029098719
Updated documentation
5 years ago
tevador
2b3a03a9dc
Fixed FSCAL instruction causing group F registers to exceed their intended maximum value
5 years ago
tevador
4934bbf69d
Updated documentation
5 years ago
tevador
40a08bb0c8
Fixed incorrect latency of mul_r in SuperscalarHash
5 years ago
tevador
a22e3b3cb0
30% faster JIT compiler
5 years ago
tevador
b62b1f8717
Added scratchpad entropy test
5 years ago
tevador
cb3d57376f
Fixed API examples
5 years ago
tevador
9e5eac8645
Fixed a chance of CBRANCH looping
...
Fixed CBRANCH jump probability being lower than expected
5 years ago
tevador
01db567e9d
Fixed an inconsistency in IADD_RS in SuperscalarHash
5 years ago
tevador
c87dcc8ae5
Cache seed renamed to key
5 years ago
tevador
ca96270509
Group E exponent changed from a static value (-240) to dynamic
5 years ago
tevador
be21ba767c
Doubled the frequency of CBRANCH, halved the jumping probability
5 years ago
tevador
3cf6a30076
Fixed biased condition register selection
5 years ago
tevador
ffebc37381
COND_R instruction reworked as CBRANCH
...
instruction mod field bits reallocated
5 years ago
tevador
22a3aa8d79
randomx_cache and randomx_dataset changed to standard-layout structs
5 years ago
tevador
fd7186f873
Changed IADD_RS to use mod.mem
5 years ago
tevador
270a4f97fe
Dataset size increased to 2080 MiB
...
Implemented dataset base offset
Tweaked SuperscalarHash constants to prevent register collisions
5 years ago
tevador
018c1a5222
Big endian bug fixes
5 years ago
tevador
1c3666aa98
Fixed benchmark code
5 years ago
tevador
b4dca14f0c
Added a function to access the dataset memory buffer
...
Number of dataset items changed from a macro to a getter function.
5 years ago
tevador
87b8253374
API documentation
...
'dataset block' -> 'dataset item'
customizable benchmark seed
5 years ago
tevador
bc78b628ea
Flags ordered by their impact on performance
...
Additional error handling
5 years ago
tevador
a8c7137873
Linux makefile
...
Exception handling
5 years ago
tevador
360c8ed913
Fixed superscalar test projects
5 years ago
tevador
41557ce010
randomx project changed to a static library
...
separate benchmark project
API usage examples
5 years ago
tevador
9c383dc2ba
Added superscalar-stats
...
Fixed makefile
5 years ago