JIT compiler for x86

This commit is contained in:
tevador
2018-12-18 22:00:58 +01:00
parent ddc29cb4d3
commit ed0bc906d6
12 changed files with 917 additions and 46 deletions

View File

@@ -109,13 +109,13 @@ int main(int argc, char** argv) {
RandomX::VirtualMachine* vm;
if (compiled) {
vm = new RandomX::CompiledVirtualMachine(softAes);
}
else {
vm = new RandomX::InterpretedVirtualMachine(softAes);
}
try {
if (compiled) {
vm = new RandomX::CompiledVirtualMachine(softAes);
}
else {
vm = new RandomX::InterpretedVirtualMachine(softAes);
}
std::cout << "Initializing..." << std::endl;
Stopwatch sw(true);
vm->initializeDataset(seed, lightClient);