Fix an x86 code generation bug (#5393). In fact, there were two bugs
authorSimon Marlow <marlowsd@gmail.com>
Tue, 9 Aug 2011 11:31:03 +0000 (12:31 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 9 Aug 2011 11:31:19 +0000 (12:31 +0100)
commit95755da3745c753af2f9db3eeab8bb6eabea0abf
tree9e613ac16a912f04b05f32d6fb1ed89fc2c91fde
parentf7d289bee191484bc5ee550b3abc6f73b44c03f5
Fix an x86 code generation bug (#5393).  In fact, there were two bugs
in X86.CodeGen.getNonClobberedOperand: two code fragments were the
wrong way around, and we were using the wrong size on an
instruction (32 bits instead of the word size).  This bit of the code
generator must have never worked!
compiler/nativeGen/X86/CodeGen.hs