summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-17 17:55:28 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-17 17:55:28 +0000
commit80636b48c0ba53f2eeaff1cad089f0a0a34b593b (patch)
treedf1396742a52ae6292b82e125c74188c97e838df
parenta806eebe13dd7052715ae8176af6a5ea8ffff0d1 (diff)
downloadbcm5719-llvm-80636b48c0ba53f2eeaff1cad089f0a0a34b593b.tar.gz
bcm5719-llvm-80636b48c0ba53f2eeaff1cad089f0a0a34b593b.zip
Thumb assembly parsing and encoding for ADC(register) instruction.
llvm-svn: 137833
-rw-r--r--llvm/test/MC/ARM/basic-thumb-instructions.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/basic-thumb-instructions.s b/llvm/test/MC/ARM/basic-thumb-instructions.s
index 3a20db166e5..08f4ef4352b 100644
--- a/llvm/test/MC/ARM/basic-thumb-instructions.s
+++ b/llvm/test/MC/ARM/basic-thumb-instructions.s
@@ -12,6 +12,14 @@ _func:
@ CHECK: _func
@------------------------------------------------------------------------------
+@ ADC (register)
+@------------------------------------------------------------------------------
+ adcs r4, r6
+
+@ CHECK: adcs r4, r6 @ encoding: [0x74,0x41]
+
+
+@------------------------------------------------------------------------------
@ ADD (immediate)
@------------------------------------------------------------------------------
adds r1, r2, #3
OpenPOWER on IntegriCloud