1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
# RUN: llvm-mc -triple armv7-apple-darwin -disassemble < %s | FileCheck %s
0xa0 0x0b 0x71 0xee
# CHECK: vadd.f64 d16, d17, d16
0x80 0x0a 0x30 0xee
# CHECK: vadd.f32 s0, s1, s0
0xe0 0x0b 0x71 0xee
# CHECK: vsub.f64 d16, d17, d16
0xc0 0x0a 0x30 0xee
# CHECK: vsub.f32 s0, s1, s0
0xa0 0x0b 0xc1 0xee
# CHECK: vdiv.f64 d16, d17, d16
0x80 0x0a 0x80 0xee
# CHECK: vdiv.f32 s0, s1, s0
0xa0 0x0b 0x61 0xee
# CHECK: vmul.f64 d16, d17, d16
0x80 0x0a 0x20 0xee
# CHECK: vmul.f32 s0, s1, s0
0xe0 0x0b 0x61 0xee
# CHECK: vnmul.f64 d16, d17, d16
0xc0 0x0a 0x20 0xee
# CHECK: vnmul.f32 s0, s1, s0
0xe0 0x1b 0xf4 0xee
# CHECK: vcmpe.f64 d17, d16
0xc0 0x0a 0xf4 0xee
# CHECK: vcmpe.f32 s1, s0
0xe0 0x0b 0xf0 0xee
# CHECK: vabs.f64 d16, d16
0xc0 0x0a 0xb0 0xee
# CHECK: vabs.f32 s0, s0
0xe0 0x0b 0xb7 0xee
# CHECK: vcvt.f32.f64 s0, d16
0xc0 0x0a 0xf7 0xee
# CHECK: vcvt.f64.f32 d16, s0
0x60 0x0b 0xf1 0xee
# CHECK: vneg.f64 d16, d16
0x40 0x0a 0xb1 0xee
# CHECK: vneg.f32 s0, s0
0xe0 0x0b 0xf1 0xee
# CHECK: vsqrt.f64 d16, d16
0xc0 0x0a 0xb1 0xee
# CHECK: vsqrt.f32 s0, s0
0xc0 0x0b 0xf8 0xee
# CHECK: vcvt.f64.s32 d16, s0
0xc0 0x0a 0xb8 0xee
# CHECK: vcvt.f32.s32 s0, s0
0x40 0x0b 0xf8 0xee
# CHECK: vcvt.f64.u32 d16, s0
0x40 0x0a 0xb8 0xee
# CHECK: vcvt.f32.u32 s0, s0
0xe0 0x0b 0xbd 0xee
# CHECK: vcvt.s32.f64 s0, d16
0xc0 0x0a 0xbd 0xee
# CHECK: vcvt.s32.f32 s0, s0
0xe0 0x0b 0xbc 0xee
# CHECK: vcvt.u32.f64 s0, d16
0xc0 0x0a 0xbc 0xee
# CHECK: vcvt.u32.f32 s0, s0
0xa1 0x0b 0x42 0xee
# CHECK: vmla.f64 d16, d18, d17
0x00 0x0a 0x41 0xee
# CHECK: vmla.f32 s1, s2, s0
0xe1 0x0b 0x42 0xee
# CHECK: vmls.f64 d16, d18, d17
0x40 0x0a 0x41 0xee
# CHECK: vmls.f32 s1, s2, s0
0xe1 0x0b 0x52 0xee
# CHECK: vnmla.f64 d16, d18, d17
0x40 0x0a 0x51 0xee
# CHECK: vnmla.f32 s1, s2, s0
0xa1 0x0b 0x52 0xee
# CHECK: vnmls.f64 d16, d18, d17
0x00 0x0a 0x51 0xee
# CHECK: vnmls.f32 s1, s2, s0
0x60 0x0b 0xf1 0x1e
# CHECK: vnegne.f64 d16, d16
0x10 0x0a 0x00 0x1e
0x10 0x1a 0x00 0x0e
# CHECK: vmovne s0, r0
# CHECK: vmoveq s0, r1
0x10 0x0a 0xf1 0xee
# CHECK: vmrs r0, fpscr
0x10 0x0a 0xf8 0xee
# CHECK: vmrs r0, fpexc
0x10 0x0a 0xf0 0xee
# CHECK: vmrs r0, fpsid
0x10 0x0a 0xe1 0xee
# CHECK: vmsr fpscr, r0
0x10 0x0a 0xe8 0xee
# CHECK: vmsr fpexc, r0
0x10 0x0a 0xe0 0xee
# CHECK: vmsr fpsid, r0
0x10 0x0a 0x00 0xee
0x90 0x1a 0x00 0xee
0x10 0x2a 0x01 0xee
0x90 0x3a 0x01 0xee
# CHECK: vmov s0, r0
# CHECK: vmov s1, r1
# CHECK: vmov s2, r2
# CHECK: vmov s3, r3
0x10 0x0a 0x10 0xee
0x90 0x1a 0x10 0xee
0x10 0x2a 0x11 0xee
0x90 0x3a 0x11 0xee
# CHECK: vmov r0, s0
# CHECK: vmov r1, s1
# CHECK: vmov r2, s2
# CHECK: vmov r3, s3
0x30 0x0b 0x51 0xec
# CHECK: vmov r0, r1, d16
0x00 0x1b 0xd0 0xed
# CHECK: vldr d17, [r0]
0x08 0x1b 0x92 0xed
0x08 0x1b 0x12 0xed
# CHECK: vldr d1, [r2, #32]
# CHECK: vldr d1, [r2, #-32]
0x00 0x2b 0x93 0xed
# CHECK: vldr d2, [r3]
0x00 0x3b 0x9f 0xed
# CHECK: vldr d3, [pc]
0x00 0x6a 0xd0 0xed
# CHECK: vldr s13, [r0]
0x08 0x0a 0xd2 0xed
0x08 0x0a 0x52 0xed
# CHECK: vldr s1, [r2, #32]
# CHECK: vldr s1, [r2, #-32]
0x00 0x1a 0x93 0xed
# CHECK: vldr s2, [r3]
0x00 0x2a 0xdf 0xed
# CHECK: vldr s5, [pc]
0x00 0x4b 0x81 0xed
0x06 0x4b 0x81 0xed
0x06 0x4b 0x01 0xed
# CHECK: vstr d4, [r1]
# CHECK: vstr d4, [r1, #24]
# CHECK: vstr d4, [r1, #-24]
0x00 0x2a 0x81 0xed
0x06 0x2a 0x81 0xed
0x06 0x2a 0x01 0xed
# CHECK: vstr s4, [r1]
# CHECK: vstr s4, [r1, #24]
# CHECK: vstr s4, [r1, #-24]
0x0c 0x2b 0x91 0xec
0x06 0x1a 0x91 0xec
# CHECK: vldmia r1, {d2, d3, d4, d5, d6, d7}
# CHECK: vldmia r1, {s2, s3, s4, s5, s6, s7}
0x0c 0x2b 0x81 0xec
0x06 0x1a 0x81 0xec
# CHECK: vstmia r1, {d2, d3, d4, d5, d6, d7}
# CHECK: vstmia r1, {s2, s3, s4, s5, s6, s7}
0x40 0x0b 0xbd 0xee
0x60 0x0a 0xbd 0xee
0x40 0x0b 0xbc 0xee
0x60 0x0a 0xbc 0xee
# CHECK: vcvtr.s32.f64 s0, d0
# CHECK: vcvtr.s32.f32 s0, s1
# CHECK: vcvtr.u32.f64 s0, d0
# CHECK: vcvtr.u32.f32 s0, s1
|