[llvm-commits] [llvm] r61424 - in /llvm/trunk/lib/Target/X86: X86Instr64bit.td X86InstrInfo.td
Chris Lattner
sabre at nondot.org
Wed Dec 24 17:27:11 PST 2008
Author: lattner
Date: Wed Dec 24 19:27:10 2008
New Revision: 61424
URL: http://llvm.org/viewvc/llvm-project?rev=61424&view=rev
Log:
BT memory operands load from their address operand.
Modified:
llvm/trunk/lib/Target/X86/X86Instr64bit.td
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86Instr64bit.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Instr64bit.td?rev=61424&r1=61423&r2=61424&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Instr64bit.td (original)
+++ llvm/trunk/lib/Target/X86/X86Instr64bit.td Wed Dec 24 19:27:10 2008
@@ -927,7 +927,7 @@
(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]
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=61424&r1=61423&r2=61424&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Wed Dec 24 19:27:10 2008
@@ -2665,11 +2665,11 @@
(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]
More information about the llvm-commits
mailing list