emit_x64_data_processing: operand in EmitExtractRegister is not modified
This commit is contained in:
parent
36c3b289a0
commit
9815502fee
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ static void EmitExtractRegister(BlockOfCode& code, EmitContext& ctx, IR::Inst* i
|
|||
auto args = ctx.reg_alloc.GetArgumentInfo(inst);
|
||||
|
||||
const Xbyak::Reg result = ctx.reg_alloc.UseScratchGpr(args[0]).changeBit(bit_size);
|
||||
const Xbyak::Reg operand = ctx.reg_alloc.UseScratchGpr(args[1]).changeBit(bit_size);
|
||||
const Xbyak::Reg operand = ctx.reg_alloc.UseGpr(args[1]).changeBit(bit_size);
|
||||
const u8 lsb = args[2].GetImmediateU8();
|
||||
|
||||
code.shrd(result, operand, lsb);
|
||||
|
|
Loading…
Reference in a new issue