1@ RUN: llvm-mc -triple   armv8a-none-eabi -mattr=+ras -show-encoding %s | FileCheck %s --check-prefix=ARM
2@ RUN: llvm-mc -triple thumbv8a-none-eabi -mattr=+ras -show-encoding %s | FileCheck %s --check-prefix=THUMB
3@ RUN: llvm-mc -triple thumbv8.1m.main-none-eabi -show-encoding %s | FileCheck %s --check-prefix=THUMB
4@ RUN: not llvm-mc -triple thumbv8m-none-eabi -show-encoding %s 2>&1 | FileCheck %s --check-prefix=FAIL
5
6  esb
7@ ARM:   esb   @ encoding: [0x10,0xf0,0x20,0xe3]
8@ THUMB: esb.w @ encoding: [0xaf,0xf3,0x10,0x80]
9@ FAIL: instruction requires: ras
10