| 140 | } |
| 141 | |
| 142 | void initCacheCompile(randomx_cache* cache, const void* key, size_t keySize) { |
| 143 | initCache(cache, key, keySize); |
| 144 | cache->jit->enableWriting(); |
| 145 | cache->jit->generateSuperscalarHash(cache->programs, cache->reciprocalCache); |
| 146 | cache->jit->generateDatasetInitCode(); |
| 147 | cache->jit->enableExecution(); |
| 148 | } |
| 149 | |
| 150 | constexpr uint64_t superscalarMul0 = 6364136223846793005ULL; |
| 151 | constexpr uint64_t superscalarAdd1 = 9298411001130361340ULL; |
nothing calls this directly
no test coverage detected