summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-09-06 20:12:23 +0000
committerJim Grosbach <grosbach@apple.com>2011-09-06 20:12:23 +0000
commit69522810374342d4b983c0ca4e9a06c7cd711d50 (patch)
treeba4771bfefb8fc635d519900212944605bebe220
parentd33e46e943f53d226229cf5af65d7fc56a2ba2b9 (diff)
downloadbcm5719-llvm-69522810374342d4b983c0ca4e9a06c7cd711d50.tar.gz
bcm5719-llvm-69522810374342d4b983c0ca4e9a06c7cd711d50.zip
Thumb2 parsing and encoding for CDP/CDP2.
llvm-svn: 139168
-rw-r--r--llvm/test/MC/ARM/basic-thumb2-instructions.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/basic-thumb2-instructions.s b/llvm/test/MC/ARM/basic-thumb2-instructions.s
index ee5d74735f6..1d4ba2cf513 100644
--- a/llvm/test/MC/ARM/basic-thumb2-instructions.s
+++ b/llvm/test/MC/ARM/basic-thumb2-instructions.s
@@ -283,6 +283,16 @@ _func:
@------------------------------------------------------------------------------
+@ CDP/CDP2
+@------------------------------------------------------------------------------
+ cdp p7, #1, c1, c1, c1, #4
+ cdp2 p7, #1, c1, c1, c1, #4
+
+@ CHECK: cdp p7, #1, c1, c1, c1, #4 @ encoding: [0x11,0xee,0x81,0x17]
+@ CHECK: cdp2 p7, #1, c1, c1, c1, #4 @ encoding: [0x11,0xfe,0x81,0x17]
+
+
+@------------------------------------------------------------------------------
@ IT
@------------------------------------------------------------------------------
@ Test encodings of a few full IT blocks, not just the IT instruction
OpenPOWER on IntegriCloud