From fcb4fa6b404200e2532be673d93a97397db0c879 Mon Sep 17 00:00:00 2001 From: Trivalik_cp <42497cfff885d3ca0e6fda54fb6262dd42101bd5sx56jUzf> Date: Fri, 10 Jun 2011 20:43:22 +0000 Subject: [PATCH] correct false permute arguments for Div 32bit integer --- source2/IL2CPU/Cosmos.IL2CPU.X86/IL/Div.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source2/IL2CPU/Cosmos.IL2CPU.X86/IL/Div.cs b/source2/IL2CPU/Cosmos.IL2CPU.X86/IL/Div.cs index 427b23cb6..5c58b5e23 100644 --- a/source2/IL2CPU/Cosmos.IL2CPU.X86/IL/Div.cs +++ b/source2/IL2CPU/Cosmos.IL2CPU.X86/IL/Div.cs @@ -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 };