diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-15 21:58:42 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-15 21:58:42 +0000 |
commit | 7ecedac8b726926cce5758b791c5e78caff8b5ad (patch) | |
tree | 9f39e982c4b51e05562990f9e40345931a131bb7 | |
parent | cd2857ee67ba23b427c3671fd1d1e575543fa80a (diff) | |
download | external_llvm-7ecedac8b726926cce5758b791c5e78caff8b5ad.zip external_llvm-7ecedac8b726926cce5758b791c5e78caff8b5ad.tar.gz external_llvm-7ecedac8b726926cce5758b791c5e78caff8b5ad.tar.bz2 |
Thumb2 assembly parsing and encoding for SBFX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139858 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 2e890a1..3746bde 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -1643,6 +1643,18 @@ _func: @------------------------------------------------------------------------------ +@ SBFX +@------------------------------------------------------------------------------ + sbfx r4, r5, #16, #1 + it gt + sbfxgt r4, r5, #16, #16 + +@ CHECK: sbfx r4, r5, #16, #1 @ encoding: [0x45,0xf3,0x00,0x44] +@ CHECK: it gt @ encoding: [0xc8,0xbf] +@ CHECK: sbfxgt r4, r5, #16, #16 @ encoding: [0x45,0xf3,0x0f,0x44] + + +@------------------------------------------------------------------------------ @ SUB (register) @------------------------------------------------------------------------------ sub.w r5, r2, r12, rrx |