mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
add the orr instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ed872865d0
commit
b52b54d4af
@ -113,6 +113,10 @@ def andrr : InstARM<(ops IntRegs:$dst, IntRegs:$a, IntRegs:$b),
|
|||||||
"and $dst, $a, $b",
|
"and $dst, $a, $b",
|
||||||
[(set IntRegs:$dst, (and IntRegs:$a, IntRegs:$b))]>;
|
[(set IntRegs:$dst, (and IntRegs:$a, IntRegs:$b))]>;
|
||||||
|
|
||||||
|
def orr_rr : InstARM<(ops IntRegs:$dst, IntRegs:$a, IntRegs:$b),
|
||||||
|
"orr $dst, $a, $b",
|
||||||
|
[(set IntRegs:$dst, (or IntRegs:$a, IntRegs:$b))]>;
|
||||||
|
|
||||||
let isTwoAddress = 1 in {
|
let isTwoAddress = 1 in {
|
||||||
def movcond : InstARM<(ops IntRegs:$dst, IntRegs:$false, IntRegs:$true, CCOp:$cc),
|
def movcond : InstARM<(ops IntRegs:$dst, IntRegs:$false, IntRegs:$true, CCOp:$cc),
|
||||||
"mov$cc $dst, $true",
|
"mov$cc $dst, $true",
|
||||||
|
Loading…
Reference in New Issue
Block a user