SChernykh
457c0e4a54
Workaround for gcc 8.3 on Arch Linux (ARM)
...
ldr/madd instruction sequence makes compiled binary crash, so separate them.
5 years ago
tevador
32f396dd11
Merge pull request #127 from SChernykh/master
...
Set scratchpad pointer to null by default
5 years ago
SChernykh
9e7ae84de4
Set scratchpad pointer to null by default
5 years ago
tevador
2441730203
Update --jit flag description
5 years ago
tevador
eef87a0f63
Documentation updates
5 years ago
SChernykh
c6468a3816
JIT compiler for ARMv8 ( #125 )
...
JIT compiler for ARMv8
5 years ago
tevador
5fb26fc607
Merge pull request #124 from SChernykh/master
...
Optimized loading from scratchpad
5 years ago
tevador
b797896479
Merge pull request #121 from jtgrassie/msys-cast
...
benchmark: fix MSYS thread handle cast
5 years ago
SChernykh
93fec18991
Optimized loading from scratchpad
5 years ago
Jethro Grassie
73021b89e0
fix MSYS thread handle cast
5 years ago
tevador
f1ff014bca
Fix JIT fallback
5 years ago
tevador
d99af8c51e
Update documentation
5 years ago
tevador
bd8ef0375a
Update benchmark
5 years ago
tevador
eee355d85b
Fixed tests
5 years ago
tevador
22689eda49
Increase the frequency of CBRANCH ( #118 )
5 years ago
wepeng
1fa1ef2047
modify BlakeGenerator chapter error ( #117 )
5 years ago
tevador
67010ab554
Optional W^X policy for JIT pages ( #112 )
5 years ago
tevador
971f10c9c2
Changes recommended by Quarkslab ( #111 )
...
* Corrected bounds for some configuration parameters
* Clarifications in the specification
* Check validity of Argon2 parameters
5 years ago
tevador
91f3edb5eb
Fix use-after-free in benchmark (debug build)
5 years ago
tevador
aa3523238b
Merge pull request #110 from cjdelisle/fix-jit-asm-for-macos
...
Fix a compiler error on Apple OSX because the assembly is not understood
5 years ago
Caleb James DeLisle
058735e508
Fix a compiler error on Apple OSX because the assembly is not understood
5 years ago
tevador
5d815c57c0
Updated readme
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
tevador
47ade5e894
Do not attempt to allocate >= 4 GiB on 32-bit systems ( #99 )
...
+ Cache size limited to 2 GiB
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
08f7a2c2f2
Vector intrinsics for ARMv8 ( #93 )
5 years ago
tevador
aaa6e4e881
Sanity checks ( #88 )
5 years ago
tevador
c6b5ec12b6
Fix: possible overflow when using non-standard Dataset size ( #87 )
5 years ago
tevador
b91882be42
Use cmake for building ( #90 )
...
* Use cmake for building
* CMakeLists.txt modified to support full standalone build
* added support for ARCH=native builds
* added PowerPC flags
* added ARMv8 flags
* check for x86 AES-NI at compile time
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
6ea6cceb63
Fix undefined behavior in rotr/rotl ( #86 )
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
91cd35ff13
Decrease the frequency of FADD/FSUB in favor of FMUL ( #77 )
...
* this better matches CPU capabilities since execution ports are usually split 1:1 between fadd and fmul
* the frequency of FSWAP_R decreased from 8 to 4 (it's ASIC-friendly)
* activate IROL_R instruction
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
118f3054ea
Large page support for FreeBSD ( #74 )
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
Judemir Ribeiro
776723dd40
POWER7+ VSX support plus AES hardware support for POWER8 and newer. ( #41 )
5 years ago
tevador
8ff1bf027a
CNv4 hashrate comparison in readme
5 years ago
tevador
e31a621d6f
Fix possible overflow in static_assert ( #67 )
5 years ago
Jethro Grassie
81d3a9d4a1
benchmark: add thread affinity setting
5 years ago
tevador
7edae5a4e4
Fix possible overflow in static_assert
5 years ago
tevador
984d34b079
Merge branch 'master' of git@github.com:tevador/RandomX.git
5 years ago
tevador
3daceace48
Clarifications in the documentation
5 years ago
tevador
447634f51d
Use strongly typed enums ( #55 )
5 years ago
tevador
52aa36249e
Add Dataset prefetch in interpreted VM ( #52 )
...
- to formally match the specification
- a small increase in interpreted mining speed (~4%)
5 years ago