Commit Graph

236 Commits

Author SHA1 Message Date
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
Howard Chu
ab6076ae58 Avoid argon2 symbol clashes with libsodium 2019-05-16 22:49:44 +01: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
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
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
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
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
9e5eac8645 Fixed a chance of CBRANCH looping
Fixed CBRANCH jump probability being lower than expected
2019-05-03 14:02:40 +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
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
tevador
4c66b2305a Formatting & refactoring 2019-04-22 18:20:46 +02:00
tevador
87b8253374 API documentation
'dataset block' -> 'dataset item'
customizable benchmark seed
2019-04-22 15:13:41 +02:00
tevador
bc78b628ea Flags ordered by their impact on performance
Additional error handling
2019-04-21 23:23:13 +02:00
tevador
d30eef75af Fixed non-x86 compilation 2019-04-21 16:22:02 +02:00
tevador
a8c7137873 Linux makefile
Exception handling
2019-04-21 15:04:17 +02:00
tevador
41b51a4858 Cleaned up legacy code 2019-04-21 14:07:32 +02:00
tevador
360c8ed913 Fixed superscalar test projects 2019-04-21 00:50:57 +02:00
tevador
0d21ae85fc Remove capital letters from filenames #3 2019-04-21 00:33:04 +02:00
tevador
f9ea7cc1df Remove capital letters from filenames #2 2019-04-21 00:32:04 +02:00
tevador
41557ce010 randomx project changed to a static library
separate benchmark project
API usage examples
2019-04-21 00:20:21 +02:00
tevador
d7eefce583 Removed capital letters from filenames 2019-04-20 16:53:06 +02:00
tevador
d7276d5786 Reduced the number of virtual calls per hash 2019-04-20 12:49:24 +02:00
tevador
296e77eebc C API - first working version 2019-04-20 11:08:01 +02:00
tevador
67046a9f38 Full-width mantissa for group E registers and FDIV_M 2019-04-17 16:18:02 +02:00
tevador
d43c7db416 Updated reference result 2019-04-16 19:12:03 +02:00
tevador
682000b1a9 Unique scratchpad addresses - interpreter
Additional writes to L3
2019-04-16 18:58:44 +02:00
tevador
33a2fd021d Unique scratchpad addresses 2019-04-14 17:21:26 +02:00
tevador
2c87a058ec Support for multithreaded dataset initialization 2019-04-13 21:29:51 +02:00
tevador
9c383dc2ba Added superscalar-stats
Fixed makefile
2019-04-13 12:02:08 +02:00
tevador
53d272c6a9 Merge branch 'feature/light-code-gen' into dev 2019-04-12 19:36:44 +02:00
tevador
8c37d4aac3 More refactoring 2019-04-12 19:36:08 +02:00
tevador
9404516dd8 Refactoring 2019-04-12 14:56:20 +02:00
tevador
d49302561f Refactoring + comments 2019-04-12 13:32:22 +02:00
tevador
24a22c6b54 Code generator refactoring 2019-04-12 00:02:22 +02:00
tevador
37ff37cd11 msvc solution 2019-04-11 20:46:35 +02:00
tevador
2e68c89740 Separate executeSuperscalar function
Tweaked superscalar hash constants
2019-04-11 18:31:13 +02:00
tevador
2132e5fef5 SuperscalarHash interpreter
Linux assembly code
2019-04-11 00:01:22 +02:00
tevador
b4c02051fa Reworked SuperscalarHash instruction set
ASM and C code generator for SuperscalarHash
Support for Superscalar hash in the light mode
2019-04-07 15:38:51 +02:00
tevador
6e3136b37f Fixed cache alignment
Performance tuning
2019-04-06 17:07:40 +02:00
tevador
77dbe14658 SuperscalarHash JIT compiler
(unfinished)
2019-04-06 12:00:56 +02:00
tevador
690707ef49 Reworked addition instructions
Some bug fixes
2019-04-03 14:06:59 +02:00
tevador
2aaec84931 Bug fixes, trace output 2019-04-03 09:53:25 +02:00
tevador
428b845a3d Fixed an infinite loop bug 2019-04-01 19:04:08 +02:00
tevador
23a357db37 Removed optimizable instruction sequences 2019-04-01 18:31:02 +02:00
tevador
2b9209346e Operand allocation 2019-04-01 00:38:17 +02:00
tevador
acef5ea0d7 Port mapping 2019-03-31 21:22:36 +02:00
tevador
2fd0a125b5 Front-end simulation 2019-03-31 13:32:16 +02:00
tevador
1c9ad90a96 Removed unused AES key expansion code 2019-03-29 08:57:47 +01:00
tevador
ad7b473388 Updated readme 2019-03-28 16:40:53 +01:00
tevador
59bbb572c2 WIP 2019-03-28 15:27:10 +01:00
tevador
2bb42637fd Epoch increased to 2048 blocks 2019-03-22 14:03:13 +01:00
tevador
107270d93d Reduced Dataset size to 2 GiB with 8 memory accesses per block
Disabled Dataset growth
2019-03-22 12:53:16 +01:00
tevador
233af9f14f Minor fixes for non-x86 platforms 2019-03-22 12:03:39 +01:00
tevador
4c1ae951de Merge branch 'feature/branches' into dev
Conflicts:
	src/JitCompilerX86.cpp
	src/JitCompilerX86.hpp
	src/main.cpp
2019-03-22 11:53:48 +01:00
tevador
28ed776fbe Light JIT compiler - Linux 2019-03-22 11:00:21 +01:00
tevador
73a11f5c01 CompiledLightVirtualMachine 2019-03-21 20:44:59 +01:00
tevador
00368cae02 Fixed stats compilation 2019-03-21 09:17:28 +01:00
tevador
007f8599b9 Implemented branches in the interpreter
Fixed x86 immediate encoding
2019-03-20 23:38:37 +01:00
tevador
1617d8e34e Fixed squareHash reference 2019-03-20 00:36:12 +01:00
tevador
1945aae9f8 align -> balign 2019-03-19 22:27:17 +01:00
tevador
174754cb2b Added branches - ASM and JIT only 2019-03-17 23:09:11 +01:00
tevador
6b344b81fd initBlock asm version (disabled) 2019-03-17 00:57:48 +01:00
tevador
91063aac91 Reference result 2019-03-16 20:59:42 +01:00
tevador
344f365c42 Updated constants according to the specs 2019-03-16 00:10:09 +01:00
tevador
edde7672e0 initBlock: cycle columns, asm implementation 2019-03-15 18:00:51 +01:00
tevador
a1dc094c19 added epoch lag configuration 2019-03-11 23:43:52 +01:00
tevador
958d2bdc15 Fixed non-portable deserialization 2019-03-11 23:04:34 +01:00