summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-18 17:55:03 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-18 17:55:03 +0000
commit47bf39d921e527207b920c2c013ba0716c49100d (patch)
tree4deaa3d0b69c88ad205059fafad87e80063f907b
parent8a6bed863a921debea1349f5799a50895961d960 (diff)
downloadbcm5719-llvm-47bf39d921e527207b920c2c013ba0716c49100d.tar.gz
bcm5719-llvm-47bf39d921e527207b920c2c013ba0716c49100d.zip
Thumb assembly parsing and encoding test for CMN.
llvm-svn: 137957
-rw-r--r--llvm/test/MC/ARM/basic-thumb-instructions.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/basic-thumb-instructions.s b/llvm/test/MC/ARM/basic-thumb-instructions.s
index eb3a2b75d37..1448538d6b1 100644
--- a/llvm/test/MC/ARM/basic-thumb-instructions.s
+++ b/llvm/test/MC/ARM/basic-thumb-instructions.s
@@ -134,3 +134,13 @@ _func:
bx r2
@ CHECK: bx r2 @ encoding: [0x10,0x47]
+
+
+@------------------------------------------------------------------------------
+@ CMN
+@------------------------------------------------------------------------------
+
+ cmn r5, r1
+
+@ CHECK: cmn r5, r1 @ encoding: [0xcd,0x42]
+
OpenPOWER on IntegriCloud