Commit Graph

476 Commits

Author SHA1 Message Date
wowario 057f5f8001 Merge pull request 'fix missing ___clear_cache when targetting iOS' (#2) from mrcyjanek/RandomWOW:cyjan-fix-ios into 1.2.1-wow
Reviewed-on: https://git.wownero.com/wownero/RandomWOW/pulls/2
2024-04-15 00:03:39 +00:00
Czarek Nakamoto 34c2646e63 fix missing ___clear_cache when targetting iOS 2024-04-04 15:32:33 +02:00
wowario 27b099b6dd
RandomWOW parameters 2023-10-28 11:57:31 +03:00
tevador 102f8acf90 bump benchmark version to 1.2.1 2023-10-20 20:42:55 +02:00
tevador 73d70fe82a
Merge pull request #286 from tevador/pr-zext
RISC-V: Avoid `zext.b`
2023-10-20 20:39:55 +02:00
tevador e895d451a3 Avoid `zext.b` 2023-10-20 19:29:35 +02:00
tevador e5b9c02417
Merge pull request #285 from tevador/pr-120
Update README and benchmark version
2023-10-20 16:43:21 +02:00
tevador 06a7cc1c33 Update README and benchmark version 2023-10-20 16:16:51 +02:00
SChernykh 7db92b73f7
Merge pull request #284 from SChernykh/opt-rcp
Optimized randomx_reciprocal
2023-10-20 16:01:46 +02:00
SChernykh 5c49ab12a0 Optimized randomx_reciprocal
Also limited it to 32 bit because it's supposed to work only with 32-bit values, according to the specs.
2023-10-20 15:05:13 +02:00
SChernykh 5fc512e71c
Merge pull request #282 from SChernykh/fix-ub
Fixed UB in ARM64 JIT compiler
2023-10-20 10:42:40 +02:00
SChernykh 8f91d31b8b Fixed UB in ARM64 JIT compiler
Fixed unaligned memory writes
2023-10-20 09:24:50 +02:00
SChernykh d3c96482ee
Merge pull request #281 from SChernykh/fix-x18
ARM64 JIT: don't use `x18` register
2023-10-19 22:00:34 +02:00
SChernykh f72101aa2c ARM64 JIT: don't use `x18` register 2023-10-19 17:20:53 +02:00
tevador 277791085c
Merge pull request #275 from tevador/pr-riscv
JIT compiler for RISC-V
2023-10-15 11:11:22 +02:00
tevador 027ecb8576 JIT compiler for RISC-V 2023-10-10 20:51:33 +02:00
tevador fa7c0438ee
Merge pull request #279 from tevador/pr-ci1
Avoid redundant CI runs
2023-10-09 20:19:32 +02:00
tevador 48fa275d04 Avoid redundant CI runs 2023-10-09 20:04:12 +02:00
tevador 9ea7608976
Merge pull request #278 from tevador/pr-const1
Preserve const qualifier when casting
2023-10-09 19:34:17 +02:00
SChernykh e322218fb7 Fixed casts from const to non-const pointers 2023-10-09 19:21:57 +02:00
tevador 1c603a23fa
Merge pull request #265 from tevador/pr-randomx-v2
RandomX commitments with double-hashing
2023-09-08 23:22:15 +02:00
tevador b89deae92e Merge branch 'master' into pr-randomx-v2 2023-09-08 22:57:28 +02:00
tevador 07a413b9f0 rename 'hash v2' to 'commitment' 2023-09-08 22:57:09 +02:00
tevador e372827fae fix vcxproj files 2023-09-08 22:36:45 +02:00
SChernykh 67ea010aa5
Merge pull request #273 from SChernykh/ci-test
Added CI tests
2023-08-24 15:41:55 +02:00
SChernykh 3f69ad7b79 Added CI tests
- Compile RandomX on a wide variety of OS and architectures
- Fixed broken x86 (32-bit) builds
- Don't use broken `fesetenv` in msys2 builds: https://sourceforge.net/p/mingw-w64/bugs/541/
2023-08-23 12:15:21 +02:00
tevador 901f8ef765
Merge pull request #266 from tevador/pr-gpg1
Update GPG key expiration date
2023-06-30 20:11:05 +02:00
SChernykh 040f4500a6
Merge pull request #268 from SChernykh/fix_gcc13
Fixed GCC 13 compilation
2023-05-15 15:55:58 +02:00
SChernykh 43db7e290e Fixed GCC 13 compilation 2023-05-15 09:45:20 +02:00
tevador ca86d352f8 update GPG key expiration date 2023-05-02 07:32:19 +02:00
tevador db273f2671 introduce RandomX v2 with double-hashing 2023-04-22 19:14:46 +02:00
SChernykh 5bb4c7760d
Merge pull request #259 from SChernykh/fix_invalidate_order
Invalidate CPU I-cache on Apple Silicon
2022-12-17 13:00:27 +01:00
SChernykh 7245f13c7e Invalidate CPU I-cache on Apple Silicon
Call __builtin___clear_cache() after pthread_jit_write_protect_np() according to https://developer.apple.com/documentation/apple-silicon/porting-just-in-time-compilers-to-apple-silicon
2022-11-30 13:26:20 +01:00
hyc 261d58c77f
Fix missing failure check in allocMemoryPages() (#250) 2022-07-24 16:31:36 +01:00
SChernykh cced5cab2f
Merge pull request #247 from SChernykh/fix_warning
Fixed compiler warning
2022-06-20 23:02:38 +02:00
SChernykh 00472c54ef Fixed compiler warning
```
virtual_memory.c:210:14: warning: type defaults to 'int' in declaration of 'pageMinimum' [-Wimplicit-int]
```
2022-06-04 19:47:17 +02:00
SChernykh 09aa65c3c7
Merge pull request #246 from SChernykh/fix_leak
Fixed cache->jit memory leak
2022-05-25 09:12:36 +02:00
SChernykh 166e0d80f5 Fixed cache->jit memory leak
1. `cache->jit = new randomx::JitCompiler();` - succeeds
2. `cache->memory = (uint8_t*)randomx::LargePageAllocator::allocMemory(randomx::CacheSize);` - fails
3. `if (cache && cache->memory == nullptr) randomx_release_cache(cache);` is executed
4. randomx_release_cache checks `if (cache->memory != nullptr)` and does nothing
5. cache->jit stays allocated
2022-05-24 14:22:16 +02:00
hyc 85c527a623
Fix missing defs on older platforms (#243) 2022-05-09 22:02:04 +01:00
hyc 8b1df47e42
Merge pull request #242 from hyc/vmem2
Fix previous commit...
2022-05-09 17:49:19 +01:00
Howard Chu d8fb7363c1 Fix previous commit...
true/false leftover from C++
2022-05-09 17:48:14 +01:00
hyc 84bc0c9e42
Merge pull request #241 from hyc/vmem
Don't use exceptions in low-level mem allocator
2022-05-09 17:31:56 +01:00
Howard Chu 6f756473c0 Don't use exceptions in low-level mem allocator 2022-05-09 17:28:59 +01:00
SChernykh ae8e98b681
Merge pull request #229 from tevador/pr-reserved
Do not use reserved identifiers in intrin_portable.h
2022-04-06 07:16:44 +02:00
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.
2021-11-29 21:33:42 +01:00
tevador df6e15e130 Merge branch 'master' of git@github.com:tevador/RandomX.git 2021-11-29 20:52:02 +01:00
tevador 2fa7c00bce update toolsets in vcxproj 2021-11-29 20:51:56 +01:00
hyc 9efc398c19
Merge pull request #227 from selsta/randomx-benchmark
RandomX benchmark 1.1.11
2021-11-19 06:08:59 +00:00
hyc b0d4807420
Merge pull request #226 from jtgrassie/fix-non-arm-osx
Fix W^X policy for apple portability
2021-11-19 06:08:38 +00:00
selsta 85a4032f34
RandomX benchmark 1.1.11 2021-11-16 03:05:28 +01:00