mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 22:27:33 -05:00
Code generator fixups
- fixed a crash in Instruction::print - new example program - added a design note about the number of x86 instruction per VM instruction
This commit is contained in:
@@ -54,7 +54,7 @@ void generateAsm(uint32_t nonce) {
|
||||
fillAes1Rx4<softAes>((void*)hash, randomx::ScratchpadSize, scratchpad);
|
||||
randomx::AssemblyGeneratorX86 asmX86;
|
||||
randomx::Program p;
|
||||
fillAes1Rx4<softAes>(hash, sizeof(p), &p);
|
||||
fillAes4Rx4<softAes>(hash, sizeof(p), &p);
|
||||
asmX86.generateProgram(p);
|
||||
asmX86.printCode(std::cout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user