[llvm-commits] [llvm] r99376 - /llvm/trunk/lib/Target/ARM/ARMInstrNEON.td

Bob Wilson bob.wilson at apple.com
Wed Mar 24 10:30:26 PDT 2010


Please add a format argument to the N3VX class and use that here instead of this "let" assignment.

On Mar 23, 2010, at 6:29 PM, Johnny Chen wrote:

> Author: johnny
> Date: Tue Mar 23 20:29:25 2010
> New Revision: 99376
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=99376&view=rev
> Log:
> Mark VMOVDneon and VMOVQ as having the N2RegFrm form to help the disassembler.
> 
> Modified:
>    llvm/trunk/lib/Target/ARM/ARMInstrNEON.td
> 
> Modified: llvm/trunk/lib/Target/ARM/ARMInstrNEON.td
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrNEON.td?rev=99376&r1=99375&r2=99376&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/ARM/ARMInstrNEON.td (original)
> +++ llvm/trunk/lib/Target/ARM/ARMInstrNEON.td Tue Mar 23 20:29:25 2010
> @@ -2778,10 +2778,13 @@
> 
> //   VMOV     : Vector Move (Register)
> 
> +// Mark these as 2-register instructions to help the disassembler.
> +let F = N2RegFrm, Form = N2RegFrm.Value in {
> def  VMOVDneon: N3VX<0, 0, 0b10, 0b0001, 0, 1, (outs DPR:$dst), (ins DPR:$src),
> -                    IIC_VMOVD, "vmov", "$dst, $src", "", []>;
> +                     IIC_VMOVD, "vmov", "$dst, $src", "", []>;
> def  VMOVQ    : N3VX<0, 0, 0b10, 0b0001, 1, 1, (outs QPR:$dst), (ins QPR:$src),
> -                    IIC_VMOVD, "vmov", "$dst, $src", "", []>;
> +                     IIC_VMOVD, "vmov", "$dst, $src", "", []>;
> +}
> 
> //   VMOV     : Vector Move (Immediate)
> 
> 
> 
> _______________________________________________
> 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