From cc9d792ec1e5599b6f629863523b0ae135f13c80 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Mon, 22 Aug 2011 23:58:02 +0000 Subject: [PATCH] Thumb parsing and encoding for SETEND. llvm-svn: 138312 --- llvm/test/MC/ARM/basic-thumb-instructions.s | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/llvm/test/MC/ARM/basic-thumb-instructions.s b/llvm/test/MC/ARM/basic-thumb-instructions.s index 197094df4906..020bc935d175 100644 --- a/llvm/test/MC/ARM/basic-thumb-instructions.s +++ b/llvm/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]