Skip to content

Commit b1080de

Browse files
committed
Fix comments
1 parent 6d4409a commit b1080de

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/core/DynaRec_x64/instructions.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,6 @@ void DynaRecCPU::recBLEZ() {
16021602
gen.mov(dword[contextPointer + PC_OFFSET], eax);
16031603
}
16041604

1605-
// TODO: Handle INT_MIN / -1
16061605
void DynaRecCPU::recDIV() {
16071606
Label notIntMin, divisionByZero, end;
16081607
bool emitIntMinCheck = true;
@@ -1735,7 +1734,7 @@ void DynaRecCPU::recDIVU() {
17351734
gen.jz(divisionByZero, CodeGenerator::LabelType::T_NEAR); // Jump to divisionByZero label if so
17361735
}
17371736

1738-
gen.xor_(edx, edx); // Set top 32 bits of dividend to
1737+
gen.xor_(edx, edx); // Set top 32 bits of dividend to 0
17391738
gen.div(ecx); // Unsigned division by divisor
17401739

17411740
if (!m_regs[_Rt_].isConst()) { // Emit a division by 0 handler if the divisor is unknown at compile time

0 commit comments

Comments
 (0)