More Thumb encodings.
[oota-llvm.git] / test / MC / ARM / neont2-bitcount-encoding.s
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unkown -show-encoding < %s | FileCheck %s
2 @ XFAIL: *
3
4 .code 16
5
6 @ CHECK: vcnt.8 d16, d16                @ encoding: [0x20,0x05,0xf0,0xff]
7         vcnt.8  d16, d16
8 @ CHECK: vcnt.8 q8, q8                  @ encoding: [0x60,0x05,0xf0,0xff]
9         vcnt.8  q8, q8
10 @ CHECK: vclz.i8        d16, d16                @ encoding: [0xa0,0x04,0xf0,0xff]
11         vclz.i8 d16, d16
12 @ CHECK: vclz.i16       d16, d16        @ encoding: [0xa0,0x04,0xf4,0xff]
13         vclz.i16        d16, d16
14 @ CHECK: vclz.i32       d16, d16        @ encoding: [0xa0,0x04,0xf8,0xff]
15         vclz.i32        d16, d16
16 @ CHECK: vclz.i8        q8, q8                  @ encoding: [0xe0,0x04,0xf0,0xff]
17         vclz.i8 q8, q8
18 @ CHECK: vclz.i16       q8, q8          @ encoding: [0xe0,0x04,0xf4,0xff]
19         vclz.i16        q8, q8
20 @ CHECK: vclz.i32       q8, q8          @ encoding: [0xe0,0x04,0xf8,0xff]
21         vclz.i32        q8, q8
22 @ CHECK: vcls.s8        d16, d16                @ encoding: [0x20,0x04,0xf0,0xff]
23         vcls.s8 d16, d16
24 @ CHECK: vcls.s16       d16, d16        @ encoding: [0x20,0x04,0xf4,0xff]
25         vcls.s16        d16, d16
26 @ CHECK: vcls.s32       d16, d16        @ encoding: [0x20,0x04,0xf8,0xff]
27         vcls.s32        d16, d16
28 @ CHECK: vcls.s8        q8, q8                  @ encoding: [0x60,0x04,0xf0,0xff]
29         vcls.s8 q8, q8
30 @ CHECK: vcls.s16       q8, q8          @ encoding: [0x60,0x04,0xf4,0xff]
31         vcls.s16        q8, q8
32 @ CHECK: vcls.s32       q8, q8          @ encoding: [0x60,0x04,0xf8,0xff]
33         vcls.s32        q8, q8
34