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 7 8// Flag manipulation 9sb 10 11// CHECK: sb @ encoding: [0x70,0xf0,0x7f,0xf5] 12// THUMB: sb @ encoding: [0xbf,0xf3,0x70,0x8f] 13 14// NOSB: instruction requires: sb 15// NOSB-NEXT: sb 16