[llvm-commits] [llvm] r108454 - /llvm/trunk/lib/Target/X86/X86InstrMMX.td

Daniel Dunbar daniel at zuster.org
Fri Jul 16 00:40:09 PDT 2010


On Thu, Jul 15, 2010 at 1:13 PM, Chris Lattner <sabre at nondot.org> wrote:
> Author: lattner
> Date: Thu Jul 15 15:13:34 2010
> New Revision: 108454
>
> URL: http://llvm.org/viewvc/llvm-project?rev=108454&view=rev
> Log:
> fix the encoding of MMX_MOVFR642Qrr, it starts with 0xF2 not 0xF3,
> this fixes rdar://8192860.  Unfortunately it can only be triggered
> with llc because llvm-mc matches another (correctly encoded) version
> of this, so no testcase.

FWIW, I think llc with --show-mc-encoding can be used to make a
reasonable test case.

 - Daniel

>
> Modified:
>    llvm/trunk/lib/Target/X86/X86InstrMMX.td
>
> Modified: llvm/trunk/lib/Target/X86/X86InstrMMX.td
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrMMX.td?rev=108454&r1=108453&r2=108454&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/X86InstrMMX.td (original)
> +++ llvm/trunk/lib/Target/X86/X86InstrMMX.td Thu Jul 15 15:13:34 2010
> @@ -164,7 +164,7 @@
>  def MMX_MOVQ2FR64rr: SSDIi8<0xD6, MRMSrcReg, (outs FR64:$dst), (ins VR64:$src),
>                            "movq2dq\t{$src, $dst|$dst, $src}", []>;
>
> -def MMX_MOVFR642Qrr: SSDIi8<0xD6, MRMSrcReg, (outs VR64:$dst), (ins FR64:$src),
> +def MMX_MOVFR642Qrr: SDIi8<0xD6, MRMSrcReg, (outs VR64:$dst), (ins FR64:$src),
>                            "movdq2q\t{$src, $dst|$dst, $src}", []>;
>
>  def MMX_MOVNTQmr  : MMXI<0xE7, MRMDestMem, (outs), (ins i64mem:$dst, VR64:$src),
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list