From: Dan Gohman Date: Tue, 13 Jan 2009 20:32:45 +0000 (+0000) Subject: Fix a few more JIT encoding issues in the BT instructions. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0c89b7e61e0e88a1bc781f1a83d31f661a3ad88e;p=oota-llvm.git Fix a few more JIT encoding issues in the BT instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62179 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 0d44d1687cc..886ab68a2de 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -2675,11 +2675,11 @@ def CMP32ri8 : Ii8<0x83, MRM7r, // TODO: BT with immediate operands // TODO: BTC, BTR, and BTS let Defs = [EFLAGS] in { -def BT16rr : I<0xA3, MRMSrcReg, (outs), (ins GR16:$src1, GR16:$src2), +def BT16rr : I<0xA3, MRMDestReg, (outs), (ins GR16:$src1, GR16:$src2), "bt{w}\t{$src2, $src1|$src1, $src2}", [(X86bt GR16:$src1, GR16:$src2), (implicit EFLAGS)]>, OpSize, TB; -def BT32rr : I<0xA3, MRMSrcReg, (outs), (ins GR32:$src1, GR32:$src2), +def BT32rr : I<0xA3, MRMDestReg, (outs), (ins GR32:$src1, GR32:$src2), "bt{l}\t{$src2, $src1|$src1, $src2}", [(X86bt GR32:$src1, GR32:$src2), (implicit EFLAGS)]>, TB;