[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / ARM / neont2-bitcount-encoding.s
blobbd525f13e29da04b56ff6002c1911f64a53467e8
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s
3 .code 16
5 vcnt.8 d16, d16
6 vcnt.8 q8, q8
8 @ CHECK: vcnt.8 d16, d16 @ encoding: [0xf0,0xff,0x20,0x05]
9 @ CHECK: vcnt.8 q8, q8 @ encoding: [0xf0,0xff,0x60,0x05]
11 vclz.i8 d16, d16
12 vclz.i16 d16, d16
13 vclz.i32 d16, d16
14 vclz.i8 q8, q8
15 vclz.i16 q8, q8
16 vclz.i32 q8, q8
18 @ CHECK: vclz.i8 d16, d16 @ encoding: [0xf0,0xff,0xa0,0x04]
19 @ CHECK: vclz.i16 d16, d16 @ encoding: [0xf4,0xff,0xa0,0x04]
20 @ CHECK: vclz.i32 d16, d16 @ encoding: [0xf8,0xff,0xa0,0x04]
21 @ CHECK: vclz.i8 q8, q8 @ encoding: [0xf0,0xff,0xe0,0x04]
22 @ CHECK: vclz.i16 q8, q8 @ encoding: [0xf4,0xff,0xe0,0x04]
23 @ CHECK: vclz.i32 q8, q8 @ encoding: [0xf8,0xff,0xe0,0x04]
25 vcls.s8 d16, d16
26 vcls.s16 d16, d16
27 vcls.s32 d16, d16
28 vcls.s8 q8, q8
29 vcls.s16 q8, q8
30 vcls.s32 q8, q8
32 @ CHECK: vcls.s8 d16, d16 @ encoding: [0xf0,0xff,0x20,0x04]
33 @ CHECK: vcls.s16 d16, d16 @ encoding: [0xf4,0xff,0x20,0x04]
34 @ CHECK: vcls.s32 d16, d16 @ encoding: [0xf8,0xff,0x20,0x04]
35 @ CHECK: vcls.s8 q8, q8 @ encoding: [0xf0,0xff,0x60,0x04]
36 @ CHECK: vcls.s16 q8, q8 @ encoding: [0xf4,0xff,0x60,0x04]
37 @ CHECK: vcls.s32 q8, q8 @ encoding: [0xf8,0xff,0x60,0x04]