From 7e99b5c8a36e3e8d611e47122f9c596b58ccf3e8 Mon Sep 17 00:00:00 2001
From: Jim Grosbach <grosbach@apple.com>
Date: Mon, 22 Aug 2011 23:58:02 +0000
Subject: [PATCH] Thumb parsing and encoding for SETEND.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138312 91177308-0d34-0410-b5e6-96231b3b80d8
---
 test/MC/ARM/basic-thumb-instructions.s | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/test/MC/ARM/basic-thumb-instructions.s b/test/MC/ARM/basic-thumb-instructions.s
index 197094df490..020bc935d17 100644
--- a/test/MC/ARM/basic-thumb-instructions.s
+++ b/test/MC/ARM/basic-thumb-instructions.s
@@ -415,3 +415,13 @@ _func:
         sbcs r4, r3
 
 @ CHECK: sbcs	r4, r3                  @ encoding: [0x9c,0x41]
+
+
+@------------------------------------------------------------------------------
+@ SETEND
+@------------------------------------------------------------------------------
+        setend be
+        setend le
+
+@ CHECK: setend	be                      @ encoding: [0x58,0xb6]
+@ CHECK: setend	le                      @ encoding: [0x50,0xb6]
-- 
2.34.1