Commit Graph

27 Commits

Author SHA1 Message Date
cryptonote-social a7733de1e7 replace hardcoded literal with its appropriate symbol 2020-06-27 09:53:46 -07:00
SChernykh 93fec18991 Optimized loading from scratchpad 2019-09-11 11:48:22 +02:00
tevador 67010ab554
Optional W^X policy for JIT pages (#112) 2019-08-25 13:47:40 +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 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
tevador 447634f51d
Use strongly typed enums (#55) 2019-06-10 16:02:25 +02:00
tevador 8a5ead5ce3 Use 'dst' as the CBRANCH condition register
See issue #43
2019-05-21 08:37:36 +02:00
tevador 2706a8b753 Relicensed under the 3-clause BSD license 2019-05-18 14:21:47 +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 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 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 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 ebddaf671c Alignment of x86 code for SuperscalarHash made optional 2019-04-29 20:19:34 +02:00
tevador 7f6bdd9a52 Code cleanup & refactoring 2019-04-28 16:42:45 +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 4c66b2305a Formatting & refactoring 2019-04-22 18:20:46 +02:00
tevador d30eef75af Fixed non-x86 compilation 2019-04-21 16:22:02 +02:00
tevador 41b51a4858 Cleaned up legacy code 2019-04-21 14:07:32 +02:00
tevador d7eefce583 Removed capital letters from filenames 2019-04-20 16:53:06 +02:00
Renamed from src/JitCompilerX86.cpp (Browse further)