mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-13 08:35:46 +00:00
ARM assmebly two operand forms for LSR, ASR, LSL, ROR register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
48b368bcd5
commit
b598b04409
@ -5038,6 +5038,18 @@ def : ARMInstAlias<"lsl${s}${p} $Rm, $imm",
|
||||
(LSLi GPR:$Rm, GPR:$Rm, imm0_31:$imm, pred:$p, cc_out:$s)>;
|
||||
def : ARMInstAlias<"ror${s}${p} $Rm, $imm",
|
||||
(RORi GPR:$Rm, GPR:$Rm, imm0_31:$imm, pred:$p, cc_out:$s)>;
|
||||
def : ARMInstAlias<"asr${s}${p} $Rn, $Rm",
|
||||
(ASRr GPRnopc:$Rn, GPRnopc:$Rn, GPRnopc:$Rm, pred:$p,
|
||||
cc_out:$s)>;
|
||||
def : ARMInstAlias<"lsr${s}${p} $Rn, $Rm",
|
||||
(LSRr GPRnopc:$Rn, GPRnopc:$Rn, GPRnopc:$Rm, pred:$p,
|
||||
cc_out:$s)>;
|
||||
def : ARMInstAlias<"lsl${s}${p} $Rn, $Rm",
|
||||
(LSLr GPRnopc:$Rn, GPRnopc:$Rn, GPRnopc:$Rm, pred:$p,
|
||||
cc_out:$s)>;
|
||||
def : ARMInstAlias<"ror${s}${p} $Rn, $Rm",
|
||||
(RORr GPRnopc:$Rn, GPRnopc:$Rn, GPRnopc:$Rm, pred:$p,
|
||||
cc_out:$s)>;
|
||||
|
||||
|
||||
// 'mul' instruction can be specified with only two operands.
|
||||
|
Loading…
x
Reference in New Issue
Block a user