[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / armv8.5a-sb.s
blobf0c9ee4de20591c49d806920161a9c60fa24039d
1 // RUN: llvm-mc -triple armv8 -show-encoding -mattr=+sb < %s | FileCheck %s
2 // RUN: llvm-mc -triple armv8 -show-encoding -mattr=+v8.5a < %s | FileCheck %s
3 // RUN: not llvm-mc -triple armv8 -show-encoding -mattr=-sb < %s 2>&1 | FileCheck %s --check-prefix=NOSB
4 // RUN: llvm-mc -triple thumbv8 -show-encoding -mattr=+sb < %s | FileCheck %s --check-prefix=THUMB
5 // RUN: llvm-mc -triple thumbv8 -show-encoding -mattr=+v8.5a < %s | FileCheck %s --check-prefix=THUMB
6 // RUN: not llvm-mc -triple thumbv8 -show-encoding -mattr=-sb < %s 2>&1 | FileCheck %s --check-prefix=NOSB
8 // Flag manipulation
9 sb
11 // CHECK: sb @ encoding: [0x70,0xf0,0x7f,0xf5]
12 // THUMB: sb @ encoding: [0xbf,0xf3,0x70,0x8f]
14 // NOSB: instruction requires: sb
15 // NOSB-NEXT: sb