[llvm] r182991 - X86: change MOV64ri64i32 into MOV32ri64

Joe Groff arcata at gmail.com
Fri May 31 15:32:51 PDT 2013


+def MOV32ri64 : Ii32<0x88, AddRegFrm, (outs GR32:$dst), (ins
i64i32imm:$src),
+                     "", [], IIC_ALU_NONMEM>, Sched<[WriteALU]>;
+

This looks wrong. 0x88 isn't an AddReg opcode; 0x89, 0x8A, etc. are
different opcodes:

http://ref.x86asm.net/geek64.html#x88

I'm seeing miscompiles in the JIT after this patch.

-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130531/73ee1d96/attachment.html>


More information about the llvm-commits mailing list