Switch lowering: extract jump tables and bit tests before building binary tree (PR22262)
[oota-llvm.git] / test / MC / ARM / neont2-shuffle-encoding.s
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s
2
3 .code 16
4
5 @ CHECK: vext.8 d16, d17, d16, #3       @ encoding: [0xf1,0xef,0xa0,0x03]
6         vext.8  d16, d17, d16, #3
7 @ CHECK: vext.8 d16, d17, d16, #5       @ encoding: [0xf1,0xef,0xa0,0x05]
8         vext.8  d16, d17, d16, #5
9 @ CHECK: vext.8 q8, q9, q8, #3          @ encoding: [0xf2,0xef,0xe0,0x03]
10         vext.8  q8, q9, q8, #3
11 @ CHECK: vext.8 q8, q9, q8, #7          @ encoding: [0xf2,0xef,0xe0,0x07]
12         vext.8  q8, q9, q8, #7
13 @ CHECK: vext.16        d16, d17, d16, #3       @ encoding: [0xf1,0xef,0xa0,0x06]
14         vext.16 d16, d17, d16, #3
15 @ CHECK: vext.32        q8, q9, q8, #3          @ encoding: [0xf2,0xef,0xe0,0x0c]
16         vext.32 q8, q9, q8, #3
17 @ CHECK: vtrn.8 d17, d16                @ encoding: [0xf2,0xff,0xa0,0x10]
18         vtrn.8  d17, d16
19 @ CHECK: vtrn.16        d17, d16                @ encoding: [0xf6,0xff,0xa0,0x10]
20         vtrn.16 d17, d16
21 @ CHECK: vtrn.32        d17, d16                @ encoding: [0xfa,0xff,0xa0,0x10]
22         vtrn.32 d17, d16
23 @ CHECK: vtrn.8 q9, q8                  @ encoding: [0xf2,0xff,0xe0,0x20]
24         vtrn.8  q9, q8
25 @ CHECK: vtrn.16        q9, q8                  @ encoding: [0xf6,0xff,0xe0,0x20]
26         vtrn.16 q9, q8
27 @ CHECK: vtrn.32        q9, q8                  @ encoding: [0xfa,0xff,0xe0,0x20]
28         vtrn.32 q9, q8
29 @ CHECK: vuzp.8 d17, d16                @ encoding: [0xf2,0xff,0x20,0x11]
30         vuzp.8  d17, d16
31 @ CHECK: vuzp.16        d17, d16                @ encoding: [0xf6,0xff,0x20,0x11]
32         vuzp.16 d17, d16
33 @ CHECK: vuzp.8 q9, q8                  @ encoding: [0xf2,0xff,0x60,0x21]
34         vuzp.8  q9, q8
35 @ CHECK: vuzp.16        q9, q8                  @ encoding: [0xf6,0xff,0x60,0x21]
36         vuzp.16 q9, q8
37 @ CHECK: vuzp.32        q9, q8                  @ encoding: [0xfa,0xff,0x60,0x21]
38         vuzp.32 q9, q8
39 @ CHECK: vzip.8 d17, d16                @ encoding: [0xf2,0xff,0xa0,0x11]
40         vzip.8  d17, d16
41 @ CHECK: vzip.16        d17, d16                @ encoding: [0xf6,0xff,0xa0,0x11]
42         vzip.16 d17, d16
43 @ CHECK: vzip.8 q9, q8                  @ encoding: [0xf2,0xff,0xe0,0x21]
44         vzip.8  q9, q8
45 @ CHECK: vzip.16        q9, q8                  @ encoding: [0xf6,0xff,0xe0,0x21]
46         vzip.16 q9, q8
47 @ CHECK: vzip.32        q9, q8                  @ encoding: [0xfa,0xff,0xe0,0x21]
48         vzip.32 q9, q8