diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index a59eca1e54..38937cb3e2 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -157,8 +157,10 @@ // instructions. //0x04: loadall_or_reset_or_hang(); 0x4: BasicOperate::gem5Op({{ + uint64_t result; bool recognized = pseudo_inst::pseudoInst( - xc->tcBase(), IMMEDIATE); + xc->tcBase(), IMMEDIATE, result); + Rax = result; if (!recognized) fault = std::make_shared(); }}, IsNonSpeculative);