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.5
a -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
8 // CHECK
: sb
// encoding
: [0xff,0x30,0x03,0xd5]
10 // NOSB
: instruction requires
: sb