Commit Graph
64 Commits
Author SHA1 Message Date
tevadorandGitHub 7e20c8e56e Merge pull request #161 from tevador/pr-struct
Fix inconsistent class/struct usage
2019-11-22 18:23:11 +01:00
tevadorandGitHub cb299e5a25 Merge pull request #158 from tevador/revert-150-dev/beber/build
Revert "dev/beber/build: improve install target"
2019-11-15 20:33:09 +01:00
tevadorandGitHub 4381ec3c89 Revert "dev/beber/build: improve install target (#150)"
This reverts commit 66c039030f.
2019-11-15 20:28:19 +01:00
tevadorandGitHub 5e53ed9409 Merge pull request #156 from SChernykh/pr-apple
Fix function names for clang on Apple
2019-11-15 12:56:18 +01:00
tevadorandGitHub 7567cef4c6 Fix symbol collisions with blake2b (#145) 2019-10-30 20:09:27 +01:00
tevadorandGitHub 34aba9dc8a Merge pull request #142 from ston1th/fix_openbsd_tests
Fixed tests on OpenBSD
2019-10-23 16:48:13 +02:00
tevadorandGitHub 4a97ce9a4c Merge pull request #141 from SChernykh/master
Fix alignment for ARMv8 code
2019-10-23 16:47:48 +02:00
tevadorandGitHub a5d16890c2 Merge pull request #139 from ston1th/fix_openbsd_mmap
Fixed mmap on OpenBSD
2019-10-23 16:46:49 +02:00
tevadorandGitHub 4f8f7f6ebb Merge pull request #143 from wepeng/RandomX-wepeng
modify Datset to Dataset
2019-10-23 16:46:25 +02:00
tevadorandGitHub f1199a9fc6 Merge pull request #131 from xiphon/install-target-randomx-lib
CMake install target for randomx library
2019-10-01 18:46:41 +02:00
tevadorandGitHub a70dfd8df7 Merge pull request #130 from hyc/gccwin32
Fix for win32 build with gcc
2019-09-25 15:23:03 +02:00
tevadorandGitHub a3d830064b Merge pull request #128 from SChernykh/master
Workaround for a bug in binutils-2.32-1 on ARM
2019-09-24 20:18:35 +02:00
tevadorandGitHub 32f396dd11 Merge pull request #127 from SChernykh/master
Set scratchpad pointer to null by default
2019-09-23 20:24:21 +02:00
tevadorandGitHub 5fb26fc607 Merge pull request #124 from SChernykh/master
Optimized loading from scratchpad
2019-09-18 23:45:30 +02:00
tevadorandGitHub b797896479 Merge pull request #121 from jtgrassie/msys-cast
benchmark: fix MSYS thread handle cast
2019-09-18 23:45:03 +02:00
tevadorandGitHub 22689eda49 Increase the frequency of CBRANCH (#118) 2019-08-30 09:28:18 +02:00
tevadorandGitHub 67010ab554 Optional W^X policy for JIT pages (#112) 2019-08-25 13:47:40 +02:00
tevadorandGitHub 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
tevadorandGitHub 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
2019-07-31 20:16:45 +02:00
tevadorandGitHub 5d815c57c0 Updated readme 2019-07-09 20:45:54 +02:00
tevadorandGitHub 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
tevadorandGitHub 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
tevadorandGitHub 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)
2019-07-03 18:13:20 +02:00
tevadorandGitHub 08f7a2c2f2 Vector intrinsics for ARMv8 (#93) 2019-07-03 18:12:38 +02:00
tevadorandGitHub aaa6e4e881 Sanity checks (#88) 2019-06-29 18:53:49 +02:00
tevadorandGitHub c6b5ec12b6 Fix: possible overflow when using non-standard Dataset size (#87) 2019-06-29 18:52:22 +02:00
tevadorandGitHub 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
2019-06-28 19:50:41 +02:00
tevadorandGitHub 6ea6cceb63 Fix undefined behavior in rotr/rotl (#86) 2019-06-25 23:41:50 +02:00
tevadorandGitHub 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
2019-06-22 16:05:22 +02:00
tevadorandGitHub 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
tevadorandGitHub 118f3054ea Large page support for FreeBSD (#74) 2019-06-22 15:55:31 +02:00
tevadorandGitHub 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
2019-06-22 15:54:43 +02:00
tevadorandGitHub 8ff1bf027a CNv4 hashrate comparison in readme 2019-06-16 22:15:12 +02:00
tevadorandGitHub e31a621d6f Fix possible overflow in static_assert (#67) 2019-06-14 23:16:27 +02:00
tevadorandGitHub 447634f51d Use strongly typed enums (#55) 2019-06-10 16:02:25 +02:00
tevadorandGitHub 52aa36249e Add Dataset prefetch in interpreted VM (#52)
- to formally match the specification
- a small increase in interpreted mining speed (~4%)
2019-06-10 16:00:04 +02:00
tevadorandGitHub cc2551b02b Support building a shared library (#53) 2019-06-10 15:58:51 +02:00
tevadorandGitHub d660798b9f Fix cmake standalone build (#56) 2019-06-10 15:58:12 +02:00
tevadorandGitHub 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
tevadorandGitHub 37e9e77905 Link to OpenCL miner in readme 2019-06-07 13:05:58 +02:00
tevadorandGitHub 3322acd944 Clarification in readme
Some people thought that fast and light mode were different algorithms.
2019-06-05 15:22:35 +02:00
tevadorandGitHub d6858e4fd4 Fixed a typo 2019-06-05 09:38:36 +02:00
tevadorandGitHub e4b2270104 Merge pull request #47 from tevador/pr-doc
Documentation and tests
2019-06-01 11:14:13 +02:00
tevadorandGitHub f7c99c5b58 Use 4 AES rounds for program generation (#46) 2019-06-01 11:13:30 +02:00
tevadorandGitHub 25337d3241 Merge pull request #48 from tevador/pr-ds4
Support Dataset size larger than 4 GiB
2019-06-01 11:12:27 +02:00
tevadorandGitHub 38d7ece828 Merge pull request #50 from tevador/pr-cmake
Enable c++11 in cmake
2019-06-01 11:11:59 +02:00
tevadorandGitHub 86949c8ce1 Merge pull request #40 from hyc/monero
Monero build integration
2019-05-17 10:03:05 +02:00
tevadorandGitHub ddb3aea562 Updated GPU mining section in readme 2019-05-08 10:38:52 +02:00
tevadorandGitHub bfc97d5671 Fixed table formatting 2019-05-05 19:34:27 +02:00
tevadorandGitHub 4a87af7940 Documentation 2019-03-13 17:49:43 +01:00
tevadorandGitHub 67c2674322 Added GPU hashrate estimate 2019-02-18 23:14:33 +01:00
tevadorandGitHub 49581e503a Merge pull request #20 from antanst/fix-uname
Use portable uname flag, handle OpenBSD case of amd64
2019-02-11 16:00:17 +01:00
tevadorandGitHub e54697b952 Correct hashrate of i7-8550U with large pages 2019-02-10 00:20:21 +01:00
tevadorandGitHub ab859879a2 loop body = 128 instructions 2019-01-27 20:10:03 +01:00
tevadorandGitHub 7c049cce8d Added store instructions 2019-01-24 21:49:39 +01:00
tevadorandGitHub 5b7df0c5e1 Test ASM for a new program structure 2019-01-24 19:35:11 +01:00
tevadorandGitHub c2e0122e15 Comparison with CryptoNight 2019-01-13 23:51:12 +01:00
tevadorandGitHub 52beccc309 Merge pull request #6 from vielmetti/patch-1
update ifdef for _rotr on aarch64
2018-12-12 16:46:39 +01:00
tevadorandGitHub 7e582c2815 Updated specification and instruction weights 2018-11-16 19:30:38 +01:00
tevadorandGitHub e018624f87 Table formatting 2018-11-10 22:35:24 +01:00
tevadorandGitHub 132529dbf9 Formatting 2018-11-05 18:31:24 +01:00
tevadorandGitHub 7cb8825cb7 Formatting 2018-11-02 17:43:21 +01:00
tevadorandGitHub 07a8318a45 Initial draft of RandomX 2018-11-01 00:46:39 +01:00
tevadorandGitHub a0abe8b44c Initial commit 2018-11-01 00:34:52 +01:00