From: Jim Grosbach Date: Tue, 6 Sep 2011 20:44:17 +0000 (+0000) Subject: Thumb2 parsing and encoding for CLZ. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0b533a3bd39471d6dce5a4495f25323a0bb515e0;p=oota-llvm.git Thumb2 parsing and encoding for CLZ. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139177 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index 926af984bc1..1946f5f7db3 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -304,6 +304,18 @@ _func: @ CHECK: clrexne @ encoding: [0xbf,0xf3,0x2f,0x8f] +@------------------------------------------------------------------------------ +@ CLZ +@------------------------------------------------------------------------------ + clz r1, r2 + it eq + clzeq r1, r2 + +@ CHECK: clz r1, r2 @ encoding: [0xb2,0xfa,0x82,0xf1] +@ CHECK: it eq @ encoding: [0x08,0xbf] +@ CHECK: clzeq r1, r2 @ encoding: [0xb2,0xfa,0x82,0xf1] + + @------------------------------------------------------------------------------ @ IT @------------------------------------------------------------------------------