1 @ RUN: not llvm-mc -triple=thumbv6t2--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF 2 @ RUN: not llvm-mc -triple=thumbv7a--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF 3 @ RUN: not llvm-mc -triple=thumbv7r--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF 4 @ RUN: not llvm-mc -triple=thumbv7m--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=ARM_MODE 5 @ RUN: llvm-mc -triple=thumbv8a--none-eabi -show-encoding < %s 2>&1 | FileCheck %s 6 7 bxj r13 8 9 @ CHECK: bxj sp @ encoding: [0xcd,0xf3,0x00,0x8f] 10 @ UNDEF: error: r13 (SP) is an unpredictable operand to BXJ 11 @ ARM_MODE: error: instruction requires: arm-mode 12