diff options
| author | Dan Gohman <gohman@apple.com> | 2009-01-13 20:32:45 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-01-13 20:32:45 +0000 |
| commit | eb2591bbdd9fe9032a65e0689a6710b309e9c2ec (patch) | |
| tree | acf18daa0830b3ff3b97b6c5db185b02e54a52a1 /llvm/lib | |
| parent | 5d4afb7bd92f337618d304dd48d2784d50a3687f (diff) | |
| download | bcm5719-llvm-eb2591bbdd9fe9032a65e0689a6710b309e9c2ec.tar.gz bcm5719-llvm-eb2591bbdd9fe9032a65e0689a6710b309e9c2ec.zip | |
Fix a few more JIT encoding issues in the BT instructions.
llvm-svn: 62179
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index 0d44d1687cc..886ab68a2de 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/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; |

