mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 07:29:59 +01:00
emit_x64_data_processing: EmitSignedDiv64: Applease MSVC
This commit is contained in:
parent
038b728797
commit
5e1f305542
@ -1218,7 +1218,7 @@ void EmitX64::EmitSignedDiv64(EmitContext& ctx, IR::Inst* inst) {
|
|||||||
code.xor_(eax, eax);
|
code.xor_(eax, eax);
|
||||||
code.test(divisor, divisor);
|
code.test(divisor, divisor);
|
||||||
code.jz(end);
|
code.jz(end);
|
||||||
code.cmp(divisor, -1);
|
code.cmp(divisor, 0xffffffff); // is sign extended
|
||||||
code.jne(ok);
|
code.jne(ok);
|
||||||
code.mov(rax, 0x8000000000000000);
|
code.mov(rax, 0x8000000000000000);
|
||||||
code.cmp(dividend, rax);
|
code.cmp(dividend, rax);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user