From: Bruno Cardoso Lopes Date: Thu, 20 Jan 2011 19:27:16 +0000 (+0000) Subject: Add testcases for clz encoding X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1115c472038b19dfcc3ff44b8bf6711ebcfc3dc4;p=oota-llvm.git Add testcases for clz encoding git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123937 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s index a26db1b4eb3..28a49aa9f0d 100644 --- a/test/MC/ARM/arm_instructions.s +++ b/test/MC/ARM/arm_instructions.s @@ -161,3 +161,6 @@ @ CHECK: clrex @ encoding: [0x1f,0xf0,0x7f,0xf5] clrex + +@ CHECK: clz r9, r0 @ encoding: [0x10,0x9f,0x6f,0xe1] + clz r9, r0 diff --git a/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s index 146d674c3eb..4a7bc6a4cce 100644 --- a/test/MC/ARM/thumb2.s +++ b/test/MC/ARM/thumb2.s @@ -199,3 +199,6 @@ @ CHECK: clrex @ encoding: [0xbf,0xf3,0x2f,0x8f] clrex + +@ CHECK: clz r9, r0 @ encoding: [0xb0,0xfa,0x80,0xf9] + clz r9, r0