From: Jim Grosbach Date: Tue, 6 Sep 2011 20:12:23 +0000 (+0000) Subject: Thumb2 parsing and encoding for CDP/CDP2. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=79d56a66c3d763b3a8147581c75c184cd48abcdc;p=oota-llvm.git Thumb2 parsing and encoding for CDP/CDP2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139168 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index ee5d74735f6..1d4ba2cf513 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -282,6 +282,16 @@ _func: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_thumb_cb +@------------------------------------------------------------------------------ +@ 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 @------------------------------------------------------------------------------