1 // RUN
: llvm-mc
-triple
=arm64
-mattr
=+neon
-show-encoding
< %s | FileCheck
%s
3 // Check that the assembler can handle the documented syntax for AArch64
5 //------------------------------------------------------------------------------
6 // Instructions for bitwise extract
7 //------------------------------------------------------------------------------
9 ext v0.8
b, v1.8
b, v2.8
b, #0x3
10 ext v0.16
b, v1.16
b, v2.16
b, #0x3
12 // CHECK
: ext v0.8
b, v1.8
b, v2.8
b, #{{0x3|3}} // encoding: [0x20,0x18,0x02,0x2e]
13 // CHECK
: ext v0.16
b, v1.16
b, v2.16
b, #{{0x3|3}} // encoding: [0x20,0x18,0x02,0x6e]