xref: /aosp_15_r20/external/llvm/test/MC/Disassembler/ARM/neont-VST-reencoding.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple thumbv7 -show-encoding -disassemble < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker0x80 0xf9 0x00 0x00
4*9880d681SAndroid Build Coastguard Worker0x81 0xf9 0x21 0x10
5*9880d681SAndroid Build Coastguard Worker0x81 0xf9 0x42 0x10
6*9880d681SAndroid Build Coastguard Worker0x81 0xf9 0x61 0x20
7*9880d681SAndroid Build Coastguard Worker0x82 0xf9 0x82 0x20
8*9880d681SAndroid Build Coastguard Worker0x82 0xf9 0xa1 0x10
9*9880d681SAndroid Build Coastguard Worker0x82 0xf9 0xc2 0x20
10*9880d681SAndroid Build Coastguard Worker0x83 0xf9 0xe3 0x30
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d0[0]}, [r0], r0 @ encoding: [0x80,0xf9,0x00,0x00]
13*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d1[1]}, [r1], r1 @ encoding: [0x81,0xf9,0x21,0x10]
14*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d1[2]}, [r1], r2 @ encoding: [0x81,0xf9,0x42,0x10]
15*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d2[3]}, [r1], r1 @ encoding: [0x81,0xf9,0x61,0x20]
16*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d2[4]}, [r2], r2 @ encoding: [0x82,0xf9,0x82,0x20]
17*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d1[5]}, [r2], r1 @ encoding: [0x82,0xf9,0xa1,0x10]
18*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d2[6]}, [r2], r2 @ encoding: [0x82,0xf9,0xc2,0x20]
19*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d3[7]}, [r3], r3 @ encoding: [0x83,0xf9,0xe3,0x30]
20*9880d681SAndroid Build Coastguard Worker
21*9880d681SAndroid Build Coastguard Worker0x80 0xf9 0x00 0x04
22*9880d681SAndroid Build Coastguard Worker0xc3 0xf9 0x13 0x04
23*9880d681SAndroid Build Coastguard Worker0xc4 0xf9 0x43 0x04
24*9880d681SAndroid Build Coastguard Worker0xc5 0xf9 0x55 0x04
25*9880d681SAndroid Build Coastguard Worker0xc6 0xf9 0x85 0x04
26*9880d681SAndroid Build Coastguard Worker0xc7 0xf9 0x95 0x74
27*9880d681SAndroid Build Coastguard Worker0xc8 0xf9 0xc7 0x84
28*9880d681SAndroid Build Coastguard Worker0xc9 0xf9 0xd9 0x94
29*9880d681SAndroid Build Coastguard Worker
30*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d0[0]},  [r0], r0      @ encoding: [0x80,0xf9,0x00,0x04]
31*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d16[0]}, [r3:16], r3 @ encoding: [0xc3,0xf9,0x13,0x04]
32*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d16[1]}, [r4], r3      @ encoding: [0xc4,0xf9,0x43,0x04]
33*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d16[1]}, [r5:16], r5 @ encoding: [0xc5,0xf9,0x55,0x04]
34*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d16[2]}, [r6], r5      @ encoding: [0xc6,0xf9,0x85,0x04]
35*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d23[2]}, [r7:16], r5 @ encoding: [0xc7,0xf9,0x95,0x74]
36*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d24[3]}, [r8], r7      @ encoding: [0xc8,0xf9,0xc7,0x84]
37*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d25[3]}, [r9:16], r9 @ encoding: [0xc9,0xf9,0xd9,0x94]
38*9880d681SAndroid Build Coastguard Worker
39*9880d681SAndroid Build Coastguard Worker0x8a 0xf9 0x01 0xa8
40*9880d681SAndroid Build Coastguard Worker0xcb 0xf9 0x32 0x18
41*9880d681SAndroid Build Coastguard Worker0x8c 0xf9 0x83 0xb8
42*9880d681SAndroid Build Coastguard Worker0xcd 0xf9 0xb4 0x28
43*9880d681SAndroid Build Coastguard Worker
44*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.32 {d10[0]}, [r10], r1      @ encoding: [0x8a,0xf9,0x01,0xa8]
45*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.32 {d17[0]}, [r11:32], r2 @ encoding: [0xcb,0xf9,0x32,0x18]
46*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.32 {d11[1]}, [r12], r3      @ encoding: [0x8c,0xf9,0x83,0xb8]
47*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.32 {d18[1]}, [sp:32], r4  @ encoding: [0xcd,0xf9,0xb4,0x28]
48*9880d681SAndroid Build Coastguard Worker
49*9880d681SAndroid Build Coastguard Worker0x81 0xf9 0x1f 0x44
50*9880d681SAndroid Build Coastguard Worker0x82 0xf9 0x8f 0x30
51*9880d681SAndroid Build Coastguard Worker
52*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d4[0]}, [r1:16] @ encoding: [0x81,0xf9,0x1f,0x44]
53*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d3[4]}, [r2]      @ encoding: [0x82,0xf9,0x8f,0x30]
54*9880d681SAndroid Build Coastguard Worker
55*9880d681SAndroid Build Coastguard Worker0x83 0xf9 0x1d 0x24
56*9880d681SAndroid Build Coastguard Worker0x84 0xf9 0x8d 0x10
57*9880d681SAndroid Build Coastguard Worker
58*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d2[0]}, [r3:16]! @ encoding: [0x83,0xf9,0x1d,0x24]
59*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.8  {d1[4]}, [r4]!      @ encoding: [0x84,0xf9,0x8d,0x10]
60*9880d681SAndroid Build Coastguard Worker
61*9880d681SAndroid Build Coastguard Worker0x85 0xf9 0x10 0x04
62*9880d681SAndroid Build Coastguard Worker0x85 0xf9 0x1a 0x74
63*9880d681SAndroid Build Coastguard Worker0x8e 0xf9 0x1a 0x84
64*9880d681SAndroid Build Coastguard Worker0x85 0xf9 0x1a 0x94
65*9880d681SAndroid Build Coastguard Worker
66*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d0[0]}, [r5:16], r0  @ encoding: [0x85,0xf9,0x10,0x04]
67*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d7[0]}, [r5:16], r10 @ encoding: [0x85,0xf9,0x1a,0x74]
68*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d8[0]}, [lr:16], r10 @ encoding: [0x8e,0xf9,0x1a,0x84]
69*9880d681SAndroid Build Coastguard Worker# CHECK: vst1.16 {d9[0]}, [r5:16], r10 @ encoding: [0x85,0xf9,0x1a,0x94]
70*9880d681SAndroid Build Coastguard Worker
71*9880d681SAndroid Build Coastguard Worker0x81 0xf9 0x24 0x0b
72*9880d681SAndroid Build Coastguard Worker0x82 0xf9 0x25 0x07
73*9880d681SAndroid Build Coastguard Worker0x83 0xf9 0x26 0x03
74*9880d681SAndroid Build Coastguard Worker
75*9880d681SAndroid Build Coastguard Worker# CHECK: vst4.32 {d0[0], d1[0], d2[0], d3[0]}, [r1:128], r4 @ encoding: [0x81,0xf9,0x24,0x0b]
76*9880d681SAndroid Build Coastguard Worker# CHECK: vst4.16 {d0[0], d2[0], d4[0], d6[0]}, [r2], r5       @ encoding: [0x82,0xf9,0x25,0x07]
77*9880d681SAndroid Build Coastguard Worker# CHECK: vst4.8  {d0[1], d1[1], d2[1], d3[1]}, [r3], r6       @ encoding: [0x83,0xf9,0x26,0x03]
78