diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-27 21:58:11 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-27 21:58:11 +0000 |
commit | 71725a099e6d0cba24a63f9c9063f6efee3bf76e (patch) | |
tree | ae88ec5243cd8a892b5166bc48e194a372cc7123 /test | |
parent | 2adba4156b83bd005bb704908bb36697e1ecabda (diff) | |
download | external_llvm-71725a099e6d0cba24a63f9c9063f6efee3bf76e.zip external_llvm-71725a099e6d0cba24a63f9c9063f6efee3bf76e.tar.gz external_llvm-71725a099e6d0cba24a63f9c9063f6efee3bf76e.tar.bz2 |
ARM assembly parsing and encoding for UMLAL.
Fix parsing of the 's' suffix for the mnemonic. Add tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/ARM/basic-arm-instructions.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-arm-instructions.s b/test/MC/ARM/basic-arm-instructions.s index c5d27de..f09bfd9 100644 --- a/test/MC/ARM/basic-arm-instructions.s +++ b/test/MC/ARM/basic-arm-instructions.s @@ -2068,3 +2068,16 @@ _func: @ CHECK: umaal r3, r4, r5, r6 @ encoding: [0x95,0x46,0x43,0xe0] @ CHECK: umaallt r3, r4, r5, r6 @ encoding: [0x95,0x46,0x43,0xb0] + +@------------------------------------------------------------------------------ +@ UMLAL +@------------------------------------------------------------------------------ + umlal r2, r4, r6, r8 + umlalgt r6, r1, r2, r6 + umlals r2, r9, r2, r3 + umlalseq r3, r5, r1, r2 + +@ CHECK: umlal r2, r4, r6, r8 @ encoding: [0x96,0x28,0xa4,0xe0] +@ CHECK: umlalgt r6, r1, r2, r6 @ encoding: [0x92,0x66,0xa1,0xc0] +@ CHECK: umlals r2, r9, r2, r3 @ encoding: [0x92,0x23,0xb9,0xe0] +@ CHECK: umlalseq r3, r5, r1, r2 @ encoding: [0x91,0x32,0xb5,0x00] |