tevador
905ee34f8b
Do not use reserved identifiers in intrin_portable.h
...
Identifiers starting with an underscore followed by an uppercase
letter are reserved for the compiler.
2 years ago
tevador
df6e15e130
Merge branch 'master' of git@github.com:tevador/RandomX.git
2 years ago
tevador
2fa7c00bce
update toolsets in vcxproj
2 years ago
hyc
9efc398c19
Merge pull request #227 from selsta/randomx-benchmark
...
RandomX benchmark 1.1.11
3 years ago
hyc
b0d4807420
Merge pull request #226 from jtgrassie/fix-non-arm-osx
...
Fix W^X policy for apple portability
3 years ago
selsta
85a4032f34
RandomX benchmark 1.1.11
3 years ago
Jethro Grassie
4d8ef87936
pageProtect when missing pthread_jit_write_protect_np
3 years ago
Jethro Grassie
31b9b0f8fc
Add runtime checks
3 years ago
Jethro Grassie
c7973839fa
Fix apple-non-arm jit guard
3 years ago
tevador
f9ae3f2351
Merge pull request #225 from SChernykh/msvc-debug-fix
...
Fixed a crash in MSVC Debug and RelWithDebInfo builds
3 years ago
SChernykh
bbc9ccc90b
Fixed a crash in MSVC Debug and RelWithDebInfo builds
...
MSVC debug/relwithdebinfo builds use jmp trampolines for ASM functions, so these must be traversed to get the actual address of the code for each function.
3 years ago
tevador
d589aa29d3
Merge pull request #222 from hyc/relocs
...
Fix absolute address references
3 years ago
tevador
b27283a708
Merge pull request #217 from hyc/issue216
...
Fix #216 - MacOS JIT privs are not ARM-specific
3 years ago
hyc
59c981cc5d
Merge pull request #192 from xiphon/fix-mingw-5.3-cross-compilation
...
__cpuidex: explicit MSVC check, fix MinGW GCC 5.3 cross-compilation
3 years ago
hyc
1f7a09435b
Merge pull request #224 from tevador/pr-codegen1
...
Fix native code generator using the wrong hash function
3 years ago
hyc
6bc2c2a5f6
Merge pull request #220 from selsta/cmake-version
...
cmake: set nonancient minimum version
3 years ago
Howard Chu
ae2c241a96
Fix #216 - MacOS JIT privs are not ARM-specific
3 years ago
hyc
088c36fea0
Fix absolute address references
...
Use local symbols instead of global symbols, to prevent problems
with dynamic linker
3 years ago
tevador
8006ac7ec0
Fix native code generator using the wrong hash function
3 years ago
selsta
6923ef322e
cmake: set nonancient minimum version
...
2.8.7 constantly prints a warning
3 years ago
tevador
fe4324e8c0
Merge pull request #213 from hyc/m1typo
...
Fix typo for M1 Mac build
3 years ago
SChernykh
3c8c7ee097
Optimized dataset read ( #211 )
...
* Optimized dataset read
There was a false dependency on readReg2 and readReg3 (caused by `xor rbp, rax` instruction) when reading dataset item (see design.md - 4.6.2 Loop execution, steps 5 and 7). This change uses `ma` register to read dataset item before the whole `rbp` (`ma` and `mx`) is changed, so superscalar and out-of-order CPU can start executing it earlier.
Results: https://i.imgur.com/Bpeq9mx.png
~1% speedup on modern Intel/AMD CPUs.
* ARMv8: optimized dataset read
Break dependency from readReg2 and readReg3.
* Fixed light mode hashing
3 years ago
Howard Chu
1b3db29fb8
Fix typo for M1 Mac build
3 years ago
tevador
c12097400b
Merge pull request #212 from hyc/m1prot
...
Faster W^X policy for apple silicon macs
3 years ago
tevador
0db4c57823
Merge pull request #198 from tevador/pr-applem1
...
Apple silicon: force W^X, enable hardware AES
3 years ago
tevador
4aae0d834d
Merge pull request #202 from SChernykh/fix-crash
...
Fix illegal instruction crash on some ARM systems
3 years ago
Howard Chu
d9b7e8c25d
Faster W^X policy for apple silicon macs
3 years ago
SChernykh
2ba7df2844
Fix illegal instruction crash on some ARM systems
...
See https://github.com/xmrig/xmrig/issues/1916
3 years ago
tevador
a44d07c89f
Merge pull request #201 from cryptonote-social/removecode
...
remove unnecessary first-load initialization code
3 years ago
cryptonote-social
529b933fcf
remove unnecessary first-load initialization code
3 years ago
tevador
a38ce601fd
Apple silicon: force W^X, enable hardware AES
3 years ago
tevador
5bfd021e8f
Merge pull request #183 from selsta/map_jit
...
virtual_memory: add MAP_JIT on macOS
4 years ago
xiphon
66c22813f6
__cpuidex: explicit MSVC check, fix MinGW GCC 5.3 cross-compilation
4 years ago
tevador
5ce5f4906c
add --noBatch benchmark option
4 years ago
selsta
7c172f746f
virtual_memory: add MAP_JIT on macOS
4 years ago
tevador
9905ec9c5a
Merge pull request #188 from cryptonote-social/master
...
replace hardcoded literal with its appropriate symbol
4 years ago
tevador
863765bbe6
Merge pull request #185 from tevador/pr-crosscomp
...
Fix windows-target cross-compilation
4 years ago
tevador
a1c08a2f41
Merge pull request #187 from tevador/pr-netbsd
...
Fix compilation and JIT support on NetBSD
1. Disable hugepages (not supported).
2. Force W^X (required).
3. When allocating JIT memory, PROT_EXEC must be reserved
in order to set the pages executable later.
4 years ago
tevador
708a4e50c5
Fix compilation and JIT support on NetBSD:
...
1. Disable hugepages (not supported).
2. Force W^X (required).
3. When allocating JIT memory, PROT_EXEC must be reserved
in order to set the pages executable later.
4 years ago
tevador
6a4afc721f
Merge pull request #189 from tevador/pr-set-cache
...
Fix potential use-after-free when reallocating cache
4 years ago
tevador
32ab5dea54
fix potential use-after-free when reallocating cache
4 years ago
cryptonote-social
a7733de1e7
replace hardcoded literal with its appropriate symbol
4 years ago
tevador
bece0a7206
fix #184
4 years ago
tevador
7741eb1e97
Merge pull request #182 from tevador/pr-restore-fpstate
...
Preserve floating point state when calling randomx_calculate_hash
4 years ago
tevador
148b923f71
fix test 92 not failing properly on GCC/amd64
4 years ago
tevador
6a764e90d0
Preserve floating point state when calling randomx_calculate_hash
4 years ago
tevador
ac574e3743
Merge pull request #179 from tevador/pr-hash-batch
...
Add a missing function to calculate a batch of hashes
4 years ago
tevador
01381ccef3
Add a missing function to calculate a batch of hashes
...
Add a test for batch calculation
4 years ago
tevador
913e495c53
Merge branch 'master' of git@github.com:tevador/RandomX.git
4 years ago
tevador
72ac5e49b6
Update dll project
4 years ago