diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-15 20:57:39 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-15 20:57:39 +0000 |
commit | ed15ab1aadea6216b30ccfc659b194d09f44ca14 (patch) | |
tree | 9630b2af32e023a5178da33c48b87513ef1e395a /test/MC | |
parent | 191d33fd6d0a91e89f2a8f719e5adbdccf9effa9 (diff) | |
download | llvm-ed15ab1aadea6216b30ccfc659b194d09f44ca14.tar.gz llvm-ed15ab1aadea6216b30ccfc659b194d09f44ca14.tar.bz2 llvm-ed15ab1aadea6216b30ccfc659b194d09f44ca14.tar.xz |
Thumb2 assembly parsing and encoding for SADD16/SADD8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 671a5aa552..0d5d2d3192 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -1555,6 +1555,30 @@ _func: @------------------------------------------------------------------------------ +@ SADD16 +@------------------------------------------------------------------------------ + sadd16 r3, r4, r8 + it ne + sadd16ne r3, r4, r8 + +@ CHECK: sadd16 r3, r4, r8 @ encoding: [0x94,0xfa,0x08,0xf3] +@ CHECK: it ne @ encoding: [0x18,0xbf] +@ CHECK: sadd16ne r3, r4, r8 @ encoding: [0x94,0xfa,0x08,0xf3] + + +@------------------------------------------------------------------------------ +@ SADD8 +@------------------------------------------------------------------------------ + sadd8 r3, r4, r8 + it ne + sadd8ne r3, r4, r8 + +@ CHECK: sadd8 r3, r4, r8 @ encoding: [0x84,0xfa,0x08,0xf3] +@ CHECK: it ne @ encoding: [0x18,0xbf] +@ CHECK: sadd8ne r3, r4, r8 @ encoding: [0x84,0xfa,0x08,0xf3] + + +@------------------------------------------------------------------------------ @ SUB (register) @------------------------------------------------------------------------------ sub.w r5, r2, r12, rrx |