diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-19 17:40:35 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-19 17:40:35 +0000 |
commit | 9883acd2a6c0851b9095409bcc0541b26165015a (patch) | |
tree | 0ef4a0d1737c065b828188d4386e27613b3f316c | |
parent | 7649b0b8c708f95e318296bd6a4b3968cd6bb38c (diff) | |
download | external_llvm-9883acd2a6c0851b9095409bcc0541b26165015a.zip external_llvm-9883acd2a6c0851b9095409bcc0541b26165015a.tar.gz external_llvm-9883acd2a6c0851b9095409bcc0541b26165015a.tar.bz2 |
Thumb2 assembly parsing and encoding for SVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140025 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index da14338..4e59207 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -2437,3 +2437,17 @@ _func: @ CHECK: sub.w r4, r5, r6, ror #5 @ encoding: [0xa5,0xeb,0x76,0x14] @ CHECK: sub.w r5, r2, r12, rrx @ encoding: [0xa2,0xeb,0x3c,0x05] + +@------------------------------------------------------------------------------ +@ SVC +@------------------------------------------------------------------------------ + svc #0 + ite eq + svceq #255 + swine #33 + +@ CHECK: svc #0 @ encoding: [0x00,0xdf] +@ CHECK: ite eq @ encoding: [0x0c,0xbf] +@ CHECK: svceq #255 @ encoding: [0xff,0xdf] +@ CHECK: svcne #33 @ encoding: [0x21,0xdf] + |