mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-01 04:29:57 +00:00
BT memory operands load from their address operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61424 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c39d4cfaa
commit
d1e3229e4b
@ -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]
|
||||
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user