1// RUN:     llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+sb -o - %s      | FileCheck %s
2// RUN:     llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a -o - %s      | FileCheck %s
3// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-sb -o - %s 2>&1 | FileCheck %s --check-prefix=NOSB
4
5// Flag manipulation
6sb
7
8// CHECK: sb // encoding: [0xff,0x30,0x03,0xd5]
9
10// NOSB: instruction requires: sb
11// NOSB-NEXT: sb
12