1@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s
2
3.code 16
4
5	vand	d16, d17, d16
6	vand	q8, q8, q9
7
8@ CHECK: vand	d16, d17, d16           @ encoding: [0x41,0xef,0xb0,0x01]
9@ CHECK: vand	q8, q8, q9              @ encoding: [0x40,0xef,0xf2,0x01]
10
11	veor	d16, d17, d16
12	veor	q8, q8, q9
13
14@ CHECK: veor	d16, d17, d16           @ encoding: [0x41,0xff,0xb0,0x01]
15@ CHECK: veor	q8, q8, q9              @ encoding: [0x40,0xff,0xf2,0x01]
16
17
18	vorr	d16, d17, d16
19	vorr	q8, q8, q9
20@	vorr.i32	d16, #0x1000000
21@	vorr.i32	q8, #0x1000000
22@	vorr.i32	q8, #0x0
23
24@ CHECK: vorr	d16, d17, d16           @ encoding: [0x61,0xef,0xb0,0x01]
25@ CHECK: vorr	q8, q8, q9              @ encoding: [0x60,0xef,0xf2,0x01]
26
27
28	vbic	d16, d17, d16
29	vbic	q8, q8, q9
30@	vbic.i32	d16, #0xFF000000
31@	vbic.i32	q8, #0xFF000000
32
33@ CHECK: vbic	d16, d17, d16           @ encoding: [0x51,0xef,0xb0,0x01]
34@ CHECK: vbic	q8, q8, q9              @ encoding: [0x50,0xef,0xf2,0x01]
35
36
37	vorn	d16, d17, d16
38	vorn	q8, q8, q9
39
40@ CHECK: vorn	d16, d17, d16           @ encoding: [0x71,0xef,0xb0,0x01]
41@ CHECK: vorn	q8, q8, q9              @ encoding: [0x70,0xef,0xf2,0x01]
42
43
44	vmvn	d16, d16
45	vmvn	q8, q8
46
47@ CHECK: vmvn	d16, d16                @ encoding: [0xf0,0xff,0xa0,0x05]
48@ CHECK: vmvn	q8, q8                  @ encoding: [0xf0,0xff,0xe0,0x05]
49
50
51	vbsl	d18, d17, d16
52	vbsl	q8, q10, q9
53	vbit	d18, d17, d16
54	vbit	q8, q10, q9
55	vbif	d18, d17, d16
56	vbif	q8, q10, q9
57
58@ CHECK: vbsl	d18, d17, d16           @ encoding: [0x51,0xff,0xb0,0x21]
59@ CHECK: vbsl	q8, q10, q9             @ encoding: [0x54,0xff,0xf2,0x01]
60@ CHECK: vbit	d18, d17, d16           @ encoding: [0x61,0xff,0xb0,0x21]
61@ CHECK: vbit	q8, q10, q9             @ encoding: [0x64,0xff,0xf2,0x01]
62@ CHECK: vbif	d18, d17, d16           @ encoding: [0x71,0xff,0xb0,0x21]
63@ CHECK: vbif	q8, q10, q9             @ encoding: [0x74,0xff,0xf2,0x01]
64