[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / ras-extension.s
blobb206cff2d33e564999f7b69e27cfec004b7a0a95
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
6 esb
7 @ ARM: esb @ encoding: [0x10,0xf0,0x20,0xe3]
8 @ THUMB: esb.w @ encoding: [0xaf,0xf3,0x10,0x80]
9 @ FAIL: instruction requires: ras