1 @ RUN: not llvm-mc -show-encoding -arch=arm < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ARM-ONLY
2 @ RUN: llvm-mc -show-encoding -triple=armv4t < %s 2>&1| FileCheck %s --check-prefix=CHECK-ARM-THUMB
3 @ RUN: llvm-mc -show-encoding -arch=arm -mcpu=cortex-a15 < %s 2>&1| FileCheck %s --check-prefix=CHECK-ARM-THUMB
4 @ RUN: not llvm-mc -show-encoding -arch=arm -mcpu=cortex-m3 < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
5 @ RUN: not llvm-mc -show-encoding -triple=armv7m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
6 @ RUN: not llvm-mc -show-encoding -triple=armv6m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
8 @ Make sure correct diagnostics are given for CPUs without support for
9 @ one or other of the execution states.
14 @ CHECK-ARM-THUMB-NOT: target does not support
16 @ CHECK-ARM-ONLY: target does not support Thumb mode
17 @ CHECK-ARM-ONLY: target does not support Thumb mode
19 @ CHECK-THUMB-ONLY: target does not support ARM mode
20 @ CHECK-THUMB-ONLY: target does not support ARM mode