diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-19 23:06:38 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-19 23:06:38 +0000 |
commit | 6451cbf79f75fde6319cd4dbcb8a48aecac702f4 (patch) | |
tree | cd20285f3b7e9190a645a199be15eff69465c4e6 /test | |
parent | 4032eaf98c63b0fb1f2418a1cdc56b72bc76c329 (diff) | |
download | external_llvm-6451cbf79f75fde6319cd4dbcb8a48aecac702f4.zip external_llvm-6451cbf79f75fde6319cd4dbcb8a48aecac702f4.tar.gz external_llvm-6451cbf79f75fde6319cd4dbcb8a48aecac702f4.tar.bz2 |
Thumb2 assembly parsing and encoding for UBFX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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 892cdaf..020b13b 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -2704,3 +2704,15 @@ _func: @ CHECK: uasx r9, r12, r0 @ encoding: [0xac,0xfa,0x40,0xf9] @ CHECK: it eq @ encoding: [0x08,0xbf] @ CHECK: uasxeq r9, r12, r0 @ encoding: [0xac,0xfa,0x40,0xf9] + + +@------------------------------------------------------------------------------ +@ UBFX +@------------------------------------------------------------------------------ + ubfx r4, r5, #16, #1 + it gt + ubfxgt r4, r5, #16, #16 + +@ CHECK: ubfx r4, r5, #16, #1 @ encoding: [0xc5,0xf3,0x00,0x44] +@ CHECK: it gt @ encoding: [0xc8,0xbf] +@ CHECK: ubfxgt r4, r5, #16, #16 @ encoding: [0xc5,0xf3,0x0f,0x44] |