diff options
| author | Jim Grosbach <grosbach@apple.com> | 2011-09-06 20:12:23 +0000 | 
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2011-09-06 20:12:23 +0000 | 
| commit | 69522810374342d4b983c0ca4e9a06c7cd711d50 (patch) | |
| tree | ba4771bfefb8fc635d519900212944605bebe220 | |
| parent | d33e46e943f53d226229cf5af65d7fc56a2ba2b9 (diff) | |
| download | bcm5719-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.s | 10 | 
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  | 

