Lines Matching refs:first
155 .macro cfirestorelist first, last
157 .if \last-\first
158 cfirestorelist \first, \last-1
163 .macro cfisavelist first, last, index=1
165 .if \last-\first
166 cfisavelist \first, \last-1, \index+1
170 .macro _prologue first=-1, last=-1, push_ip=PAC_LEAF_PUSH_IP, push_lr=0
177 .if \first != -1
180 _prologue \first, \first, \push_ip, \push_lr
196 .if \first != -1
197 .if \last != \first
204 push {r\first-r\last, ip, lr}
205 .cfi_adjust_cfa_offset ((\last-\first)+3)*4
208 cfisavelist \first, \last, 3
211 push {r\first-r\last, ip}
212 .cfi_adjust_cfa_offset ((\last-\first)+2)*4
214 cfisavelist \first, \last, 2
219 push {r\first-r\last, lr}
220 .cfi_adjust_cfa_offset ((\last-\first)+2)*4
222 cfisavelist \first, \last, 2
225 push {r\first-r\last}
226 .cfi_adjust_cfa_offset ((\last-\first)+1)*4
227 cfisavelist \first, \last, 1
234 push {r\first, ip, lr}
238 cfisavelist \first, \first, 3
241 push {r\first, ip}
244 cfisavelist \first, \first, 2
249 push {r\first, lr}
252 cfisavelist \first, \first, 2
255 push {r\first}
257 cfisavelist \first, \first, 1
286 .macro _epilogue first=-1, last=-1, push_ip=PAC_LEAF_PUSH_IP, push_lr=0
293 .if \first != -1
296 _epilogue \first, \first, \push_ip, \push_lr
299 .if \last != \first
306 pop {r\first-r\last, ip, lr}
309 cfirestorelist \first, \last
312 pop {r\first-r\last, ip}
314 cfirestorelist \first, \last
319 pop {r\first-r\last, lr}
321 cfirestorelist \first, \last
324 pop {r\first-r\last}
325 cfirestorelist \first, \last
332 pop {r\first, ip, lr}
335 cfirestorelist \first, \first
338 pop {r\first, ip}
340 cfirestorelist \first, \first
345 pop {r\first, lr}
347 cfirestorelist \first, \first
350 pop {r\first}
351 cfirestorelist \first, \first
382 .macro _preprocess_reglist1 first:req, last:req, push_ip:req, push_lr:req, reglist_op:req
384 \reglist_op \first, 0, \push_ip, \push_lr
386 \reglist_op \first, 1, \push_ip, \push_lr
388 \reglist_op \first, 2, \push_ip, \push_lr
390 \reglist_op \first, 3, \push_ip, \push_lr
392 \reglist_op \first, 4, \push_ip, \push_lr
394 \reglist_op \first, 5, \push_ip, \push_lr
396 \reglist_op \first, 6, \push_ip, \push_lr
398 \reglist_op \first, 7, \push_ip, \push_lr
400 \reglist_op \first, 8, \push_ip, \push_lr
402 \reglist_op \first, 9, \push_ip, \push_lr
404 \reglist_op \first, 10, \push_ip, \push_lr
406 \reglist_op \first, 11, \push_ip, \push_lr
413 .macro _preprocess_reglist first:req, last, push_ip=0, push_lr=0, reglist_op:req
415 _preprocess_reglist \first \first \push_ip \push_lr
417 .if \first > \last
420 .if \first == 0
422 .elseif \first == 1
424 .elseif \first == 2
426 .elseif \first == 3
428 .elseif \first == 4
430 .elseif \first == 5
432 .elseif \first == 6
434 .elseif \first == 7
436 .elseif \first == 8
438 .elseif \first == 9
440 .elseif \first == 10
442 .elseif \first == 11
450 .macro _align8 first, last, push_ip=0, push_lr=0, reglist_op=_prologue
451 .ifb \first
456 \reglist_op first=-1, last=-1, push_ip=\push_ip, push_lr=\push_lr
466 _align8 \first, \first, \push_ip, \push_lr, \reglist_op
474 .ifeq (\last - \first + \push_ip + \push_lr) % 2
475 .if \first == 0
479 _preprocess_reglist \first-1, \last, \push_ip, \push_lr, \reglist_op
481 _preprocess_reglist \first \last, \push_ip, \push_lr, \reglist_op
486 .macro prologue first, last, push_ip=PAC_LEAF_PUSH_IP, push_lr=0, align8=STACK_ALIGN_ENFORCE
488 _align8 \first, \last, \push_ip, \push_lr, _prologue
490 _prologue first=\first, last=\last, push_ip=\push_ip, push_lr=\push_lr
494 .macro epilogue first, last, push_ip=PAC_LEAF_PUSH_IP, push_lr=0, align8=STACK_ALIGN_ENFORCE
496 _align8 \first, \last, \push_ip, \push_lr, reglist_op=_epilogue
498 _epilogue first=\first, last=\last, push_ip=\push_ip, push_lr=\push_lr