aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-27 23:10:05 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-27 23:10:05 +0000
commited398468b51c6eb5b2c9a5bccc8669854cf589a8 (patch)
tree87589ef07778c72b913c5c4fb43d061f11c8288b /test
parent953e2e81dec27fe40315100714eb15c967a9fc1e (diff)
downloadexternal_llvm-ed398468b51c6eb5b2c9a5bccc8669854cf589a8.zip
external_llvm-ed398468b51c6eb5b2c9a5bccc8669854cf589a8.tar.gz
external_llvm-ed398468b51c6eb5b2c9a5bccc8669854cf589a8.tar.bz2
ARM assembly parsing and encoding for USUB16 and USUB8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/basic-arm-instructions.s13
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 a7ea3b4..8845c29 100644
--- a/test/MC/ARM/basic-arm-instructions.s
+++ b/test/MC/ARM/basic-arm-instructions.s
@@ -2195,3 +2195,16 @@ _func:
@ CHECK: usax r2, r3, r4 @ encoding: [0x54,0x2f,0x53,0xe6]
@ CHECK: usaxne r2, r3, r4 @ encoding: [0x54,0x2f,0x53,0x16]
+@------------------------------------------------------------------------------
+@ USUB16/USUB8
+@------------------------------------------------------------------------------
+ usub16 r4, r2, r7
+ usub16hi r1, r1, r3
+ usub8 r1, r8, r5
+ usub8le r9, r2, r3
+
+@ CHECK: usub16 r4, r2, r7 @ encoding: [0x77,0x4f,0x52,0xe6]
+@ CHECK: usub16hi r1, r1, r3 @ encoding: [0x73,0x1f,0x51,0x86]
+@ CHECK: usub8 r1, r8, r5 @ encoding: [0xf5,0x1f,0x58,0xe6]
+@ CHECK: usub8le r9, r2, r3 @ encoding: [0xf3,0x9f,0x52,0xd6]
+