@@ -36,10 +36,10 @@ define void @loadstore_v16i8_just_over_simm10() nounwind {
36
36
%2 = alloca [497 x i8 ] ; Push the frame just over 512 bytes
37
37
38
38
%3 = load volatile <16 x i8 >* %1
39
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 512
39
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 512
40
40
; MIPS32-AE: ld.b [[R1:\$w[0-9]+]], 0([[BASE]])
41
41
store volatile <16 x i8 > %3 , <16 x i8 >* %1
42
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 512
42
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 512
43
43
; MIPS32-AE: st.b [[R1]], 0([[BASE]])
44
44
45
45
ret void
@@ -53,12 +53,12 @@ define void @loadstore_v16i8_just_under_simm16() nounwind {
53
53
%2 = alloca [32752 x i8 ] ; Push the frame right up to 32768 bytes
54
54
55
55
%3 = load volatile <16 x i8 >* %1
56
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
57
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
56
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
57
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
58
58
; MIPS32-AE: ld.b [[R1:\$w[0-9]+]], 0([[BASE]])
59
59
store volatile <16 x i8 > %3 , <16 x i8 >* %1
60
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
61
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
60
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
61
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
62
62
; MIPS32-AE: st.b [[R1]], 0([[BASE]])
63
63
64
64
ret void
@@ -72,12 +72,12 @@ define void @loadstore_v16i8_just_over_simm16() nounwind {
72
72
%2 = alloca [32753 x i8 ] ; Push the frame just over 32768 bytes
73
73
74
74
%3 = load volatile <16 x i8 >* %1
75
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
76
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
75
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
76
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
77
77
; MIPS32-AE: ld.b [[R1:\$w[0-9]+]], 0([[BASE]])
78
78
store volatile <16 x i8 > %3 , <16 x i8 >* %1
79
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
80
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
79
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
80
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
81
81
; MIPS32-AE: st.b [[R1]], 0([[BASE]])
82
82
83
83
ret void
@@ -107,10 +107,10 @@ define void @loadstore_v8i16_unaligned() nounwind {
107
107
%5 = getelementptr [2 x <8 x i16 >]* %4 , i32 0 , i32 0
108
108
109
109
%6 = load volatile <8 x i16 >* %5
110
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 1
110
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 1
111
111
; MIPS32-AE: ld.h [[R1:\$w[0-9]+]], 0([[BASE]])
112
112
store volatile <8 x i16 > %6 , <8 x i16 >* %5
113
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 1
113
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 1
114
114
; MIPS32-AE: st.h [[R1]], 0([[BASE]])
115
115
116
116
ret void
@@ -139,10 +139,10 @@ define void @loadstore_v8i16_just_over_simm10() nounwind {
139
139
%2 = alloca [1009 x i8 ] ; Push the frame just over 1024 bytes
140
140
141
141
%3 = load volatile <8 x i16 >* %1
142
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 1024
142
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 1024
143
143
; MIPS32-AE: ld.h [[R1:\$w[0-9]+]], 0([[BASE]])
144
144
store volatile <8 x i16 > %3 , <8 x i16 >* %1
145
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 1024
145
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 1024
146
146
; MIPS32-AE: st.h [[R1]], 0([[BASE]])
147
147
148
148
ret void
@@ -156,12 +156,12 @@ define void @loadstore_v8i16_just_under_simm16() nounwind {
156
156
%2 = alloca [32752 x i8 ] ; Push the frame right up to 32768 bytes
157
157
158
158
%3 = load volatile <8 x i16 >* %1
159
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
160
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
159
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
160
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
161
161
; MIPS32-AE: ld.h [[R1:\$w[0-9]+]], 0([[BASE]])
162
162
store volatile <8 x i16 > %3 , <8 x i16 >* %1
163
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
164
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
163
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
164
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
165
165
; MIPS32-AE: st.h [[R1]], 0([[BASE]])
166
166
167
167
ret void
@@ -175,12 +175,12 @@ define void @loadstore_v8i16_just_over_simm16() nounwind {
175
175
%2 = alloca [32753 x i8 ] ; Push the frame just over 32768 bytes
176
176
177
177
%3 = load volatile <8 x i16 >* %1
178
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
179
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
178
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
179
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
180
180
; MIPS32-AE: ld.h [[R1:\$w[0-9]+]], 0([[BASE]])
181
181
store volatile <8 x i16 > %3 , <8 x i16 >* %1
182
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
183
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
182
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
183
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
184
184
; MIPS32-AE: st.h [[R1]], 0([[BASE]])
185
185
186
186
ret void
@@ -210,10 +210,10 @@ define void @loadstore_v4i32_unaligned() nounwind {
210
210
%5 = getelementptr [2 x <4 x i32 >]* %4 , i32 0 , i32 0
211
211
212
212
%6 = load volatile <4 x i32 >* %5
213
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 1
213
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 1
214
214
; MIPS32-AE: ld.w [[R1:\$w[0-9]+]], 0([[BASE]])
215
215
store volatile <4 x i32 > %6 , <4 x i32 >* %5
216
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 1
216
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 1
217
217
; MIPS32-AE: st.w [[R1]], 0([[BASE]])
218
218
219
219
ret void
@@ -242,10 +242,10 @@ define void @loadstore_v4i32_just_over_simm10() nounwind {
242
242
%2 = alloca [2033 x i8 ] ; Push the frame just over 2048 bytes
243
243
244
244
%3 = load volatile <4 x i32 >* %1
245
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 2048
245
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 2048
246
246
; MIPS32-AE: ld.w [[R1:\$w[0-9]+]], 0([[BASE]])
247
247
store volatile <4 x i32 > %3 , <4 x i32 >* %1
248
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 2048
248
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 2048
249
249
; MIPS32-AE: st.w [[R1]], 0([[BASE]])
250
250
251
251
ret void
@@ -259,12 +259,12 @@ define void @loadstore_v4i32_just_under_simm16() nounwind {
259
259
%2 = alloca [32752 x i8 ] ; Push the frame right up to 32768 bytes
260
260
261
261
%3 = load volatile <4 x i32 >* %1
262
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
263
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
262
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
263
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
264
264
; MIPS32-AE: ld.w [[R1:\$w[0-9]+]], 0([[BASE]])
265
265
store volatile <4 x i32 > %3 , <4 x i32 >* %1
266
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
267
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
266
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
267
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
268
268
; MIPS32-AE: st.w [[R1]], 0([[BASE]])
269
269
270
270
ret void
@@ -278,12 +278,12 @@ define void @loadstore_v4i32_just_over_simm16() nounwind {
278
278
%2 = alloca [32753 x i8 ] ; Push the frame just over 32768 bytes
279
279
280
280
%3 = load volatile <4 x i32 >* %1
281
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
282
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
281
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
282
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
283
283
; MIPS32-AE: ld.w [[R1:\$w[0-9]+]], 0([[BASE]])
284
284
store volatile <4 x i32 > %3 , <4 x i32 >* %1
285
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
286
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
285
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
286
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
287
287
; MIPS32-AE: st.w [[R1]], 0([[BASE]])
288
288
289
289
ret void
@@ -313,10 +313,10 @@ define void @loadstore_v2i64_unaligned() nounwind {
313
313
%5 = getelementptr [2 x <2 x i64 >]* %4 , i32 0 , i32 0
314
314
315
315
%6 = load volatile <2 x i64 >* %5
316
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 1
316
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 1
317
317
; MIPS32-AE: ld.d [[R1:\$w[0-9]+]], 0([[BASE]])
318
318
store volatile <2 x i64 > %6 , <2 x i64 >* %5
319
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 1
319
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 1
320
320
; MIPS32-AE: st.d [[R1]], 0([[BASE]])
321
321
322
322
ret void
@@ -345,10 +345,10 @@ define void @loadstore_v2i64_just_over_simm10() nounwind {
345
345
%2 = alloca [4081 x i8 ] ; Push the frame just over 4096 bytes
346
346
347
347
%3 = load volatile <2 x i64 >* %1
348
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 4096
348
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 4096
349
349
; MIPS32-AE: ld.d [[R1:\$w[0-9]+]], 0([[BASE]])
350
350
store volatile <2 x i64 > %3 , <2 x i64 >* %1
351
- ; MIPS32-AE: addiu [[BASE:\$[0-9]+]], $sp, 4096
351
+ ; MIPS32-AE: addiu [[BASE:\$( [0-9]+|gp) ]], $sp, 4096
352
352
; MIPS32-AE: st.d [[R1]], 0([[BASE]])
353
353
354
354
ret void
@@ -362,12 +362,12 @@ define void @loadstore_v2i64_just_under_simm16() nounwind {
362
362
%2 = alloca [32752 x i8 ] ; Push the frame right up to 32768 bytes
363
363
364
364
%3 = load volatile <2 x i64 >* %1
365
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
366
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
365
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
366
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
367
367
; MIPS32-AE: ld.d [[R1:\$w[0-9]+]], 0([[BASE]])
368
368
store volatile <2 x i64 > %3 , <2 x i64 >* %1
369
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
370
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
369
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
370
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
371
371
; MIPS32-AE: st.d [[R1]], 0([[BASE]])
372
372
373
373
ret void
@@ -381,12 +381,12 @@ define void @loadstore_v2i64_just_over_simm16() nounwind {
381
381
%2 = alloca [32753 x i8 ] ; Push the frame just over 32768 bytes
382
382
383
383
%3 = load volatile <2 x i64 >* %1
384
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
385
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
384
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
385
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
386
386
; MIPS32-AE: ld.d [[R1:\$w[0-9]+]], 0([[BASE]])
387
387
store volatile <2 x i64 > %3 , <2 x i64 >* %1
388
- ; MIPS32-AE: ori [[R2:\$[0-9]+]], $zero, 32768
389
- ; MIPS32-AE: addu [[BASE:\$[0-9]+]], $sp, [[R2]]
388
+ ; MIPS32-AE: ori [[R2:\$( [0-9]+|gp) ]], $zero, 32768
389
+ ; MIPS32-AE: addu [[BASE:\$( [0-9]+|gp) ]], $sp, [[R2]]
390
390
; MIPS32-AE: st.d [[R1]], 0([[BASE]])
391
391
392
392
ret void
0 commit comments