diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2009-11-16 23:57:56 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2009-11-16 23:57:56 +0000 |
| commit | 18183b6d8ea0bcd539f4541baf1291b87e02718c (patch) | |
| tree | 38f3ad1c876895d8cf9ab2a89c1f2d0594c06426 /llvm/lib/Target/ARM | |
| parent | e85ef718d5d86a1176eae4f09c79879896916485 (diff) | |
| download | bcm5719-llvm-18183b6d8ea0bcd539f4541baf1291b87e02718c.tar.gz bcm5719-llvm-18183b6d8ea0bcd539f4541baf1291b87e02718c.zip | |
Set Rm bits of BX_RET to 0b1110 (R14); and set condition code bits of BRIND to
0b1110 (ALways). This is so that the disassembler decoder can distinguish among
BX_RET, BRIND, and BXr9.
llvm-svn: 89000
Diffstat (limited to 'llvm/lib/Target/ARM')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index 893694bfdee..5235a2e2ee0 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -647,6 +647,7 @@ def LEApcrelJT : AXI1<0x0, (outs GPR:$dst), let isReturn = 1, isTerminator = 1, isBarrier = 1 in def BX_RET : AI<(outs), (ins), BrMiscFrm, IIC_Br, "bx", "\tlr", [(ARMretflag)]> { + let Inst{3-0} = 0b1110; let Inst{7-4} = 0b0001; let Inst{19-8} = 0b111111111111; let Inst{27-20} = 0b00010010; @@ -659,6 +660,7 @@ let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in { let Inst{7-4} = 0b0001; let Inst{19-8} = 0b111111111111; let Inst{27-20} = 0b00010010; + let Inst{31-28} = 0b1110; } } |

