@@ -30,11 +30,11 @@ define signext i32 @StoreArrays1() {
3030; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r3, mySmallLocalExecTLSv1[TL]@le(r13)
3131; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r3, 2
3232; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r4, mySmallLocalExecTLSv1[TL]@le+24(r13)
33+ ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r4, (mySmallLocalExecTLS4[TL]@le+328)-65536(r13)
3334; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r3, (mySmallLocalExecTLS2[TL]@le+320)-65536(r13)
3435; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r3, 3
3536; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r3, (mySmallLocalExecTLS3[TL]@le+324)-65536(r13)
3637; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r3, 88
37- ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r4, (mySmallLocalExecTLS4[TL]@le+328)-65536(r13)
3838; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r3, (mySmallLocalExecTLS5[TL]@le+332)-65536(r13)
3939; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r3, 102
4040; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: blr
@@ -46,11 +46,11 @@ define signext i32 @StoreArrays1() {
4646; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r3, mySmallLocalExecTLSv1[TL]@le(r13)
4747; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r3, 2
4848; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r4, mySmallLocalExecTLSv1[TL]@le+24(r13)
49+ ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r4, (mySmallLocalExecTLS4[TL]@le+328)-65536(r13)
4950; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r3, (mySmallLocalExecTLS2[TL]@le+320)-65536(r13)
5051; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r3, 3
5152; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r3, (mySmallLocalExecTLS3[TL]@le+324)-65536(r13)
5253; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r3, 88
53- ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r4, (mySmallLocalExecTLS4[TL]@le+328)-65536(r13)
5454; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r3, (mySmallLocalExecTLS5[TL]@le+332)-65536(r13)
5555; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r3, 102
5656; SMALL-LOCAL-EXEC-LARGECM64-NEXT: blr
@@ -88,16 +88,16 @@ entry:
8888define signext i32 @StoreArrays2 () {
8989; SMALL-LOCAL-EXEC-SMALLCM64-LABEL: StoreArrays2:
9090; SMALL-LOCAL-EXEC-SMALLCM64: # %bb.0: # %entry
91- ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: ld r4, L..C0(r2) # target-flags(ppc-tprel) @mySmallLocalExecTLSv2
91+ ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r4, 2
9292; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r3, 1
93+ ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r4, (mySmallLocalExecTLS2[TL]@le+320)-65536(r13)
94+ ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r4, 3
95+ ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r4, (mySmallLocalExecTLS3[TL]@le+324)-65536(r13)
96+ ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: ld r4, L..C0(r2) # target-flags(ppc-tprel) @mySmallLocalExecTLSv2
9397; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: add r4, r13, r4
9498; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r3, 0(r4)
9599; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r3, 4
96100; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r3, 24(r4)
97- ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r4, 2
98- ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r4, (mySmallLocalExecTLS2[TL]@le+320)-65536(r13)
99- ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r4, 3
100- ; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r4, (mySmallLocalExecTLS3[TL]@le+324)-65536(r13)
101101; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r4, 88
102102; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: stw r3, (mySmallLocalExecTLS4[TL]@le+328)-65536(r13)
103103; SMALL-LOCAL-EXEC-SMALLCM64-NEXT: li r3, 102
@@ -106,17 +106,17 @@ define signext i32 @StoreArrays2() {
106106;
107107; SMALL-LOCAL-EXEC-LARGECM64-LABEL: StoreArrays2:
108108; SMALL-LOCAL-EXEC-LARGECM64: # %bb.0: # %entry
109+ ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r3, 2
110+ ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r4, 3
111+ ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r3, (mySmallLocalExecTLS2[TL]@le+320)-65536(r13)
109112; SMALL-LOCAL-EXEC-LARGECM64-NEXT: addis r3, L..C0@u(r2)
110- ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r4, 1
111113; SMALL-LOCAL-EXEC-LARGECM64-NEXT: ld r3, L..C0@l(r3)
114+ ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r4, (mySmallLocalExecTLS3[TL]@le+324)-65536(r13)
115+ ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r4, 1
112116; SMALL-LOCAL-EXEC-LARGECM64-NEXT: add r3, r13, r3
113117; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r4, 0(r3)
114118; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r4, 4
115119; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r4, 24(r3)
116- ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r3, 2
117- ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r3, (mySmallLocalExecTLS2[TL]@le+320)-65536(r13)
118- ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r3, 3
119- ; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r3, (mySmallLocalExecTLS3[TL]@le+324)-65536(r13)
120120; SMALL-LOCAL-EXEC-LARGECM64-NEXT: li r3, 88
121121; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r4, (mySmallLocalExecTLS4[TL]@le+328)-65536(r13)
122122; SMALL-LOCAL-EXEC-LARGECM64-NEXT: stw r3, (mySmallLocalExecTLS5[TL]@le+332)-65536(r13)
@@ -162,35 +162,35 @@ entry:
162162; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 3, 2
163163; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 4, 24(13)
164164; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+15]]) mySmallLocalExecTLSv1[TL]
165+ ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 4, -460(13)
166+ ; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+21]]) mySmallLocalExecTLS4[TL]
165167; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 3, -32468(13)
166168; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+17]]) mySmallLocalExecTLS2[TL]
167169; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 3, 3
168170; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 3, -16464(13)
169171; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+19]]) mySmallLocalExecTLS3[TL]
170172; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 3, 88
171- ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 4, -460(13)
172- ; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+21]]) mySmallLocalExecTLS4[TL]
173173; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 3, 15544(13)
174174; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+23]]) mySmallLocalExecTLS5[TL]
175175; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 3, 102
176176; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} blr
177177
178178; DIS: 0000000000000040 (idx: [[#NFA+5]]) .StoreArrays2:
179+ ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 3, 2
180+ ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 4, 3
181+ ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 3, -32468(13)
182+ ; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+17]]) mySmallLocalExecTLS2[TL]
179183; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} addis 3, 2, 0
180184; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TOCU (idx: [[#NFA+13]]) mySmallLocalExecTLSv2[TE]
181- ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 4, 1
182185; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} ld 3, 0(3)
183186; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TOCL (idx: [[#NFA+13]]) mySmallLocalExecTLSv2[TE]
187+ ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 4, -16464(13)
188+ ; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+19]]) mySmallLocalExecTLS3[TL]
189+ ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 4, 1
184190; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} add 3, 13, 3
185191; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 4, 0(3)
186192; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 4, 4
187193; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 4, 24(3)
188- ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 3, 2
189- ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 3, -32468(13)
190- ; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+17]]) mySmallLocalExecTLS2[TL]
191- ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 3, 3
192- ; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 3, -16464(13)
193- ; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+19]]) mySmallLocalExecTLS3[TL]
194194; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} li 3, 88
195195; DIS-NEXT: [[#%x, ADDR:]]: {{.*}} stw 4, -460(13)
196196; DIS-NEXT: {{0*}}[[#ADDR + 2]]: R_TLS_LE (idx: [[#NFA+21]]) mySmallLocalExecTLS4[TL]
@@ -227,4 +227,4 @@ entry:
227227; DIS: 000000000000be6c (idx: [[#NFA+19]]) mySmallLocalExecTLS3[TL]:
228228; DIS: 000000000000fcec (idx: [[#NFA+21]]) mySmallLocalExecTLS4[TL]:
229229; DIS: 0000000000013b6c (idx: [[#NFA+23]]) mySmallLocalExecTLS5[TL]:
230- ; DIS: 00000000000179ec (idx: [[#NFA+25]]) mySmallLocalExecTLSv2[TL]:
230+ ; DIS: 00000000000179ec (idx: [[#NFA+25]]) mySmallLocalExecTLSv2[TL]:
0 commit comments