mirror of
https://codeberg.org/wownero/RandomWOW.git
synced 2026-10-18 05:51:40 +02:00
Optional W^X policy for JIT pages (#112)
This commit is contained in:
@@ -140,8 +140,10 @@ namespace randomx {
|
||||
|
||||
void initCacheCompile(randomx_cache* cache, const void* key, size_t keySize) {
|
||||
initCache(cache, key, keySize);
|
||||
cache->jit->enableWriting();
|
||||
cache->jit->generateSuperscalarHash(cache->programs, cache->reciprocalCache);
|
||||
cache->jit->generateDatasetInitCode();
|
||||
cache->jit->enableExecution();
|
||||
}
|
||||
|
||||
constexpr uint64_t superscalarMul0 = 6364136223846793005ULL;
|
||||
|
||||
Reference in New Issue
Block a user