diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-09-01 08:25:56 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-09-01 08:25:56 +0000 |
commit | 10a9eb8212f68cf86bb53471070bbb9cc2c2b422 (patch) | |
tree | afc031893d58739c4c2b3be781720d7d38332e46 /lib/Target/ARM/ARMInstrInfo.td | |
parent | d36b01cdc722ea8cd327995358a89a0f19802464 (diff) | |
download | external_llvm-10a9eb8212f68cf86bb53471070bbb9cc2c2b422.zip external_llvm-10a9eb8212f68cf86bb53471070bbb9cc2c2b422.tar.gz external_llvm-10a9eb8212f68cf86bb53471070bbb9cc2c2b422.tar.bz2 |
Control flow instruction encodings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.td')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index cfc0625..b4a9f42f 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -531,16 +531,16 @@ let isReturn = 1, isTerminator = 1 in let isCall = 1, Defs = [R0, R1, R2, R3, R12, LR, D0, D1, D2, D3, D4, D5, D6, D7, CPSR] in { - def BL : AXI<0xB, (outs), (ins i32imm:$func, variable_ops), Branch, + def BL : ABLI<0xB, (outs), (ins i32imm:$func, variable_ops), Branch, "bl ${func:call}", [(ARMcall tglobaladdr:$func)]>; - def BL_pred : AI<0xB, (outs), (ins i32imm:$func, variable_ops), - Branch, "bl", " ${func:call}", + def BL_pred : ABLpredI<0xB, (outs), (ins i32imm:$func, variable_ops), Branch, + "bl", " ${func:call}", [(ARMcall_pred tglobaladdr:$func)]>; // ARMv5T and above - def BLX : AXI<0x2, (outs), (ins GPR:$func, variable_ops), BranchMisc, + def BLX : ABLXI<0x2, (outs), (ins GPR:$func, variable_ops), BranchMisc, "blx $func", [(ARMcall GPR:$func)]>, Requires<[IsARM, HasV5T]>; let Uses = [LR] in { @@ -576,7 +576,7 @@ let isBranch = 1, isTerminator = 1 in { // FIXME: should be able to write a pattern for ARMBrcond, but can't use // a two-value operand where a dag node expects two operands. :( - def Bcc : AI<0xA, (outs), (ins brtarget:$target), Branch, + def Bcc : ABccI<0xA, (outs), (ins brtarget:$target), Branch, "b", " $target", [/*(ARMbrcond bb:$target, imm:$cc, CCR:$ccr)*/]>; } |