From 5e4ea175f695d4e0faac4a2e408064c3eb9c3f50 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 23 Aug 2011 19:53:17 +0000 Subject: [PATCH] Thumb parsing and encoding for TST. llvm-svn: 138362 --- llvm/test/MC/ARM/basic-thumb-instructions.s | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/llvm/test/MC/ARM/basic-thumb-instructions.s b/llvm/test/MC/ARM/basic-thumb-instructions.s index efd8c5eca7ca..f65c7cc35e4c 100644 --- a/llvm/test/MC/ARM/basic-thumb-instructions.s +++ b/llvm/test/MC/ARM/basic-thumb-instructions.s @@ -553,3 +553,11 @@ _func: @ CHECK: sxtb r3, r5 @ encoding: [0x6b,0xb2] @ CHECK: sxth r3, r5 @ encoding: [0x2b,0xb2] + + +@------------------------------------------------------------------------------ +@ TST +@------------------------------------------------------------------------------ + tst r6, r1 + +@ CHECK: tst r6, r1 @ encoding: [0x0e,0x42]