diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-12-25 01:27:10 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-12-25 01:27:10 +0000 |
| commit | d1dfdab9730326fe10d01da51eb4a943e0950bb0 (patch) | |
| tree | 66840d91f77675d3e02b050401296099dded475a | |
| parent | 8175f27d3fe974369f200583ceddc94728dd6cf2 (diff) | |
| download | bcm5719-llvm-d1dfdab9730326fe10d01da51eb4a943e0950bb0.tar.gz bcm5719-llvm-d1dfdab9730326fe10d01da51eb4a943e0950bb0.zip | |
BT memory operands load from their address operand.
llvm-svn: 61424
| -rw-r--r-- | llvm/lib/Target/X86/X86Instr64bit.td | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.td | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86Instr64bit.td b/llvm/lib/Target/X86/X86Instr64bit.td index 6e284a63194..065fd8dd2fa 100644 --- a/llvm/lib/Target/X86/X86Instr64bit.td +++ b/llvm/lib/Target/X86/X86Instr64bit.td @@ -927,7 +927,7 @@ def BT64rr : RI<0xA3, MRMSrcReg, (outs), (ins GR64:$src1, GR64:$src2), (implicit EFLAGS)]>; def BT64mr : RI<0xA3, MRMSrcMem, (outs), (ins i64mem:$src1, GR64:$src2), "bt{q}\t{$src2, $src1|$src1, $src2}", - [(X86bt addr:$src1, GR64:$src2), + [(X86bt (loadi64 addr:$src1), GR64:$src2), (implicit EFLAGS)]>; } // Defs = [EFLAGS] diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index 4d27f31a18a..4d22c3cfc29 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/lib/Target/X86/X86InstrInfo.td @@ -2665,11 +2665,11 @@ def BT32rr : I<0xA3, MRMSrcReg, (outs), (ins GR32:$src1, GR32:$src2), (implicit EFLAGS)]>; def BT16mr : I<0xA3, MRMSrcMem, (outs), (ins i16mem:$src1, GR16:$src2), "bt{w}\t{$src2, $src1|$src1, $src2}", - [(X86bt addr:$src1, GR16:$src2), + [(X86bt (loadi16 addr:$src1), GR16:$src2), (implicit EFLAGS)]>, OpSize; def BT32mr : I<0xA3, MRMSrcMem, (outs), (ins i32mem:$src1, GR32:$src2), "bt{l}\t{$src2, $src1|$src1, $src2}", - [(X86bt addr:$src1, GR32:$src2), + [(X86bt (loadi32 addr:$src1), GR32:$src2), (implicit EFLAGS)]>; } // Defs = [EFLAGS] |

