[llvm-commits] [llvm] r78721 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td

Eli Friedman eli.friedman at gmail.com
Tue Aug 11 15:23:56 PDT 2009


On Tue, Aug 11, 2009 at 2:26 PM, Sean Callanan<scallanan at apple.com> wrote:
> +  // addition to rAX
> +  def ADD8i8 : Ii8<0x04, RawFrm, (outs), (ins i8imm:$src),
> +                   "add\t{$src, %al|%al, $src}", []>;
> +  def ADD16i16 : Ii16<0x05, RawFrm, (outs), (ins i16imm:$src),
> +                      "add\t{$src, %ax|%ax, $src}", []>, OpSize;
> +  def ADD32i32 : Ii32<0x05, RawFrm, (outs), (ins i32imm:$src),
> +                      "add\t{$src, %eax|%eax, $src}", []>;
>  }

Can you add the 64-bit form too while you're at it?

-Eli




More information about the llvm-commits mailing list