diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-28 21:57:55 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-28 21:57:55 +0000 |
commit | cf121c35c484ee17210fde1cecbd896348cd654a (patch) | |
tree | e885f8a9ea5516b79628c16b0fb51d63145e5654 /test | |
parent | d1e38dfb8d53df048b15e5f2ae70d4e1c9ce61bf (diff) | |
download | external_llvm-cf121c35c484ee17210fde1cecbd896348cd654a.zip external_llvm-cf121c35c484ee17210fde1cecbd896348cd654a.tar.gz external_llvm-cf121c35c484ee17210fde1cecbd896348cd654a.tar.bz2 |
ARM assembly parsing and encoding for BLX (immediate).
Add parsing support for BLX (immediate). Since the register operand version is
predicated and the label operand version is not, we have to use some special
handling to get the operand list right for matching.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136406 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/ARM/basic-arm-instructions.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/MC/ARM/basic-arm-instructions.s b/test/MC/ARM/basic-arm-instructions.s index 10ffc97..352a050 100644 --- a/test/MC/ARM/basic-arm-instructions.s +++ b/test/MC/ARM/basic-arm-instructions.s @@ -358,10 +358,12 @@ Lforward: @------------------------------------------------------------------------------ bl _bar - @ FIXME: blx _bar + blx _bar @ CHECK: bl _bar @ encoding: [A,A,A,0xeb] @ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbranch +@ CHECK: blx _bar @ encoding: [A,A,A,0xfa] + @ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbranch @------------------------------------------------------------------------------ @ BLX (register) |