mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
More helpful error messages in the benchmark
Move reciprocal tests before Dataset initialization Fix randomx.dll project
This commit is contained in:
parent
6ea6cceb63
commit
4a4b06e44b
5 changed files with 52 additions and 23 deletions
|
@ -192,7 +192,22 @@ There is a total of 29 different instructions. The sum of frequencies must be eq
|
|||
|
||||
#### Notes
|
||||
|
||||
Making large changes to the default values is not recommended. The only exceptions are the instruction pairs IROR_R/IROL_R, FADD_R/FSUB_R and FADD_M/FSUB_M, which are functionally equivalent.
|
||||
Making changes to the default values is not recommended. The only exceptions are the instruction pairs IROR_R/IROL_R, FADD_R/FSUB_R and FADD_M/FSUB_M, which are functionally equivalent. Example of a safe custom configuration:
|
||||
|
||||
||default|custom|
|
||||
|-|------|------|-|
|
||||
|`RANDOMX_FREQ_IROR_R`|8|5|
|
||||
|`RANDOMX_FREQ_IROL_R`|2|5|
|
||||
|
||||
||default|custom|
|
||||
|-|------|------|
|
||||
|`RANDOMX_FREQ_FADD_R`|16|17|
|
||||
|`RANDOMX_FREQ_FSUB_R`|16|15|
|
||||
|
||||
||default|custom|
|
||||
|-|------|------|
|
||||
|`RANDOMX_FREQ_FADD_M`|5|4|
|
||||
|`RANDOMX_FREQ_FSUB_M`|5|6|
|
||||
|
||||
## Unsafe configurations
|
||||
|
||||
|
@ -200,6 +215,7 @@ There are some configurations that are considered 'unsafe' because they affect t
|
|||
|
||||
These checks can be disabled by definining `RANDOMX_UNSAFE` when building RandomX, e.g. by using `-DRANDOMX_UNSAFE` command line switch in GCC or MSVC. It is not recommended to disable these checks except for testing purposes.
|
||||
|
||||
|
||||
### 1. Memory-time tradeoffs
|
||||
|
||||
#### Condition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue