[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / thumb2-bxj-v8.s
blob23d8819cfa45ed9cb76fe195b688389922460cd5
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
7 bxj r13
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: !armv*m