From 4bab3c77102954380c923505c413a2df7aca48eb Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 15 Sep 2011 18:07:14 +0000 Subject: [PATCH] Thumb2 assembly parsing and encoding for RBIT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139811 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/basic-thumb2-instructions.s | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/MC/ARM/basic-thumb2-instructions.s b/test/MC/ARM/basic-thumb2-instructions.s index d9f3e22427b..9facc0ca605 100644 --- a/test/MC/ARM/basic-thumb2-instructions.s +++ b/test/MC/ARM/basic-thumb2-instructions.s @@ -1413,6 +1413,18 @@ _func: @ CHECK: qsub8le r1, r2, r3 @ encoding: [0xc2,0xfa,0x13,0xf1] +@------------------------------------------------------------------------------ +@ RBIT +@------------------------------------------------------------------------------ + rbit r1, r2 + it ne + rbitne r1, r2 + +@ CHECK: rbit r1, r2 @ encoding: [0x92,0xfa,0xa2,0xf1] +@ CHECK: it ne @ encoding: [0x18,0xbf] +@ CHECK: rbitne r1, r2 @ encoding: [0x92,0xfa,0xa2,0xf1] + + @------------------------------------------------------------------------------ @ SUB (register) @------------------------------------------------------------------------------