correct false permute arguments for Div 32bit integer

This commit is contained in:
Trivalik_cp 2011-06-10 20:43:22 +00:00
parent f16f0b66aa
commit fcb4fa6b40

View file

@ -110,8 +110,8 @@ namespace Cosmos.IL2CPU.X86.IL
}
else
{
new CPUx86.Pop { DestinationReg = CPUx86.Registers.EAX };
new CPUx86.Pop { DestinationReg = CPUx86.Registers.ECX };
new CPUx86.Pop { DestinationReg = CPUx86.Registers.EAX };
new CPUx86.SignExtendAX { Size = 32 };
new CPUx86.IDivide { DestinationReg = CPUx86.Registers.ECX };
new CPUx86.Push { DestinationReg = CPUx86.Registers.EAX };