mirror of
https://github.com/wownero/RandomX.git
synced 2026-10-21 17:28:46 +02:00
Use strongly typed enums (#55)
This commit is contained in:
@@ -306,7 +306,7 @@ namespace randomx {
|
||||
}
|
||||
|
||||
void JitCompilerX86::generateSuperscalarCode(Instruction& instr, std::vector<uint64_t> &reciprocalCache) {
|
||||
switch (instr.opcode)
|
||||
switch ((SuperscalarInstructionType)instr.opcode)
|
||||
{
|
||||
case randomx::SuperscalarInstructionType::ISUB_R:
|
||||
emit(REX_SUB_RR);
|
||||
|
||||
Reference in New Issue
Block a user