13 #ifndef _XTENSA_CORE_TIE_ASM_H
14 #define _XTENSA_CORE_TIE_ASM_H
18 #define XTHAL_SAS_TIE 0x0001
19 #define XTHAL_SAS_OPT 0x0002
21 #define XTHAL_SAS_NOCC 0x0004
22 #define XTHAL_SAS_CC 0x0008
24 #define XTHAL_SAS_CALR 0x0010
25 #define XTHAL_SAS_CALE 0x0020
26 #define XTHAL_SAS_GLOB 0x0040
28 #define XTHAL_SAS_ALL 0xFFFF
43 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
58 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
64 #define XCHAL_NCP_NUM_ATMPS 1
72 #define xchal_cp_FPU_store xchal_cp0_store
98 .set .Lxchal_ofs_, .Lxchal_ofs_ + 72
106 #define xchal_cp_FPU_load xchal_cp0_load
132 .set .Lxchal_ofs_, .Lxchal_ofs_ + 72
136 #define XCHAL_CP0_NUM_ATMPS 1
142 #define xchal_cp_XAD_store xchal_cp6_store
176 WRAS128I
wra0, \ptr, 64
177 WRAS128I
wra1, \ptr, 80
178 WRAS128I
wra2, \ptr, 96
179 WRAS128I
wra3, \ptr, 112
180 WRAS128I
wra4, \ptr, 128
181 WRAS128I
wra5, \ptr, 144
182 WRAS128I
wra6, \ptr, 160
183 WRAS128I
wra7, \ptr, 176
184 WRAS128I
wra8, \ptr, 192
185 WRAS128I
wra9, \ptr, 208
186 WRAS128I
wra10, \ptr, 224
187 WRAS128I
wra11, \ptr, 240
188 WRAS128I
wra12, \ptr, 256
189 WRAS128I
wra13, \ptr, 272
190 WRAS128I
wra14, \ptr, 288
191 WRAS128I
wra15, \ptr, 304
192 WRBS128I
wrb0, \ptr, 320
193 WRBS128I
wrb1, \ptr, 336
194 WRBS128I
wrb2, \ptr, 352
195 WRBS128I
wrb3, \ptr, 368
196 WRBS128I
wrb4, \ptr, 384
197 WRBS128I
wrb5, \ptr, 400
198 WRBS128I
wrb6, \ptr, 416
199 WRBS128I
wrb7, \ptr, 432
200 WRBS128I
wrb8, \ptr, 448
201 WRBS128I
wrb9, \ptr, 464
202 WRBS128I
wrb10, \ptr, 480
203 WRBS128I
wrb11, \ptr, 496
204 WRBS128I
wrb12, \ptr, 512
205 WRBS128I
wrb13, \ptr, 528
206 WRBS128I
wrb14, \ptr, 544
207 WRBS128I
wrb15, \ptr, 560
208 .set .Lxchal_ofs_, .Lxchal_ofs_ + 576
216 #define xchal_cp_XAD_load xchal_cp6_load
250 WRBL128I
wrb0, \ptr, 320
251 WRBL128I
wrb1, \ptr, 336
252 WRBL128I
wrb2, \ptr, 352
253 WRBL128I
wrb3, \ptr, 368
254 WRBL128I
wrb4, \ptr, 384
255 WRBL128I
wrb5, \ptr, 400
256 WRBL128I
wrb6, \ptr, 416
257 WRBL128I
wrb7, \ptr, 432
258 WRBL128I
wrb8, \ptr, 448
259 WRBL128I
wrb9, \ptr, 464
260 WRBL128I
wrb10, \ptr, 480
261 WRBL128I
wrb11, \ptr, 496
262 WRBL128I
wrb12, \ptr, 512
263 WRBL128I
wrb13, \ptr, 528
264 WRBL128I
wrb14, \ptr, 544
265 WRBL128I
wrb15, \ptr, 560
266 WRAL128I
wra0, \ptr, 64
267 WRAL128I
wra1, \ptr, 80
268 WRAL128I
wra2, \ptr, 96
269 WRAL128I
wra3, \ptr, 112
270 WRAL128I
wra4, \ptr, 128
271 WRAL128I
wra5, \ptr, 144
272 WRAL128I
wra6, \ptr, 160
273 WRAL128I
wra7, \ptr, 176
274 WRAL128I
wra8, \ptr, 192
275 WRAL128I
wra9, \ptr, 208
276 WRAL128I
wra10, \ptr, 224
277 WRAL128I
wra11, \ptr, 240
278 WRAL128I
wra12, \ptr, 256
279 WRAL128I
wra13, \ptr, 272
280 WRAL128I
wra14, \ptr, 288
281 WRAL128I
wra15, \ptr, 304
282 .set .Lxchal_ofs_, .Lxchal_ofs_ + 576
286 #define XCHAL_CP6_NUM_ATMPS 1
287 #define XCHAL_SA_NUM_ATMPS 1
290 .macro xchal_cp1_store
p a b c d continue=0 ofs=-1
select=-1 ; .endm
291 .macro xchal_cp1_load
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
292 .macro xchal_cp2_store
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
293 .macro xchal_cp2_load
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
294 .macro xchal_cp3_store
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
295 .macro xchal_cp3_load
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
296 .macro xchal_cp4_store
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
297 .macro xchal_cp4_load
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
298 .macro xchal_cp5_store
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
299 .macro xchal_cp5_load
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
300 .macro xchal_cp7_store
p a b c d
continue=0 ofs=-1
select=-1 ; .endm
301 .macro xchal_cp7_load
p a b c d
continue=0 ofs=-1
select=-1 ; .endm