@ RUN: llvm-mc -triple armv8a-none-eabi -show-encoding %s | FileCheck %s --check-prefix=ARM
@ RUN: llvm-mc -triple thumbv8a-none-eabi -show-encoding %s | FileCheck %s --check-prefix=THUMB
@ RUN: not llvm-mc -triple thumbv6m-none-eabi -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR
csdb
ssbb
pssbb
@ ARM: csdb @ encoding:
@ ARM: ssbb @ encoding:
@ ARM: pssbb @ encoding:
@ THUMB: csdb @ encoding:
@ THUMB: ssbb @ encoding:
@ THUMB: pssbb @ encoding:
@ ERROR: error: instruction requires: thumb2
@ ERROR-NEXT: csdb
@ ERROR: error: instruction requires: thumb2
@ ERROR-NEXT: ssbb
@ ERROR: error: instruction requires: thumb2
@ ERROR-NEXT: pssbb