Lines Matching refs:acc
100 my @acc=map("%l$_",(0..7));
205 srlx $t0,32,@acc[1] ! extract high parts
206 srlx $t1,32,@acc[2]
207 srlx $t2,32,@acc[3]
208 srlx $t3,32,@acc[4]
209 srlx $t4,32,@acc[5]
210 srlx $t5,32,@acc[6]
211 srlx $t6,32,@acc[7]
212 srlx $t7,32,@acc[0] ! "@acc[8]"
217 addcc @acc[1],$t1,@acc[1] ! accumulate high parts
220 addccc @acc[2],$t2,@acc[2]
221 addccc @acc[3],$t3,@acc[3]
224 addccc @acc[4],$t4,@acc[4]
225 addccc @acc[5],$t5,@acc[5]
228 addccc @acc[6],$t6,@acc[6]
229 addccc @acc[7],$t7,@acc[7]
232 addccc @acc[0],$carry,@acc[0] ! "@acc[8]"
261 addcc @acc[3],$t0,@acc[3] ! r[3]+=r[0]
262 addccc @acc[4],%g0,@acc[4] ! r[4]+=0
263 and @acc[1],$mask,@acc[1]
264 and @acc[2],$mask,@acc[2]
265 addccc @acc[5],%g0,@acc[5] ! r[5]+=0
266 addccc @acc[6],$t0,@acc[6] ! r[6]+=r[0]
267 and @acc[3],$mask,@acc[3]
268 and @acc[4],$mask,@acc[4]
269 addccc @acc[7],%g0,@acc[7] ! r[7]+=0
270 addccc @acc[0],$t0,@acc[0] ! r[8]+=r[0] "@acc[8]"
271 and @acc[5],$mask,@acc[5]
272 and @acc[6],$mask,@acc[6]
274 subcc @acc[7],$t0,@acc[7] ! r[7]-=r[0]
275 subccc @acc[0],%g0,@acc[0] ! r[8]-=0 "@acc[8]"
277 and @acc[7],$mask,@acc[7]
278 and @acc[0],$mask,@acc[0] ! "@acc[8]"
280 push(@acc,shift(@acc)); # rotate registers to "omit" acc[0]
290 add @acc[0],$t0,$t0 ! accumulate low parts, can't overflow
291 add @acc[1],$t1,$t1
292 srlx $t0,32,@acc[1] ! extract high parts
293 add @acc[2],$t2,$t2
294 srlx $t1,32,@acc[2]
295 add @acc[3],$t3,$t3
296 srlx $t2,32,@acc[3]
297 add @acc[4],$t4,$t4
298 srlx $t3,32,@acc[4]
299 add @acc[5],$t5,$t5
300 srlx $t4,32,@acc[5]
301 add @acc[6],$t6,$t6
302 srlx $t5,32,@acc[6]
303 add @acc[7],$t7,$t7
304 srlx $t6,32,@acc[7]
305 srlx $t7,32,@acc[0] ! "@acc[8]"
309 addcc @acc[1],$t1,@acc[1] ! accumulate high parts
310 addccc @acc[2],$t2,@acc[2]
311 addccc @acc[3],$t3,@acc[3]
312 addccc @acc[4],$t4,@acc[4]
313 addccc @acc[5],$t5,@acc[5]
314 addccc @acc[6],$t6,@acc[6]
315 addccc @acc[7],$t7,@acc[7]
316 addccc @acc[0],$carry,@acc[0] ! "@acc[8]"
319 addcc @acc[3],$t0,@acc[3] ! multiplication-less reduction
320 addccc @acc[4],%g0,@acc[4]
321 addccc @acc[5],%g0,@acc[5]
322 addccc @acc[6],$t0,@acc[6]
323 addccc @acc[7],%g0,@acc[7]
324 addccc @acc[0],$t0,@acc[0] ! "@acc[8]"
326 subcc @acc[7],$t0,@acc[7]
327 subccc @acc[0],%g0,@acc[0] ! "@acc[8]"
330 push(@acc,shift(@acc)); # rotate registers to omit acc[0]
336 subcc @acc[0],-1,@acc[0] ! subtract modulus
337 subccc @acc[1],-1,@acc[1]
338 subccc @acc[2],-1,@acc[2]
339 subccc @acc[3],0,@acc[3]
340 subccc @acc[4],0,@acc[4]
341 subccc @acc[5],0,@acc[5]
342 subccc @acc[6],1,@acc[6]
343 subccc @acc[7],-1,@acc[7]
352 addcc @acc[0],$carry,@acc[0] ! add modulus or zero
353 addccc @acc[1],$carry,@acc[1]
355 st @acc[0],[$rp]
356 addccc @acc[2],$carry,@acc[2]
357 st @acc[1],[$rp+4]
358 addccc @acc[3],0,@acc[3]
359 st @acc[2],[$rp+8]
360 addccc @acc[4],0,@acc[4]
361 st @acc[3],[$rp+12]
362 addccc @acc[5],0,@acc[5]
363 st @acc[4],[$rp+16]
364 addccc @acc[6],$bi,@acc[6]
365 st @acc[5],[$rp+20]
366 addc @acc[7],$carry,@acc[7]
367 st @acc[6],[$rp+24]
369 st @acc[7],[$rp+28]
379 ld [$ap],@acc[0]
380 ld [$ap+4],@acc[1]
381 ld [$ap+8],@acc[2]
382 ld [$ap+12],@acc[3]
383 ld [$ap+16],@acc[4]
384 ld [$ap+20],@acc[5]
385 ld [$ap+24],@acc[6]
387 ld [$ap+28],@acc[7]
399 addcc @acc[0],$t0,@acc[0]
402 addccc @acc[1],$t1,@acc[1]
405 addccc @acc[2],$t2,@acc[2]
406 addccc @acc[3],$t3,@acc[3]
407 addccc @acc[4],$t4,@acc[4]
408 addccc @acc[5],$t5,@acc[5]
409 addccc @acc[6],$t6,@acc[6]
410 addccc @acc[7],$t7,@acc[7]
420 subcc @acc[0],-1,@acc[0]
421 subccc @acc[1],-1,@acc[1]
422 subccc @acc[2],-1,@acc[2]
423 subccc @acc[3], 0,@acc[3]
424 subccc @acc[4], 0,@acc[4]
425 subccc @acc[5], 0,@acc[5]
426 subccc @acc[6], 1,@acc[6]
427 subccc @acc[7],-1,@acc[7]
434 addcc @acc[0],$carry,@acc[0] ! add synthesized modulus
435 addccc @acc[1],$carry,@acc[1]
437 st @acc[0],[$rp]
438 addccc @acc[2],$carry,@acc[2]
439 st @acc[1],[$rp+4]
440 addccc @acc[3],0,@acc[3]
441 st @acc[2],[$rp+8]
442 addccc @acc[4],0,@acc[4]
443 st @acc[3],[$rp+12]
444 addccc @acc[5],0,@acc[5]
445 st @acc[4],[$rp+16]
446 addccc @acc[6],$bi,@acc[6]
447 st @acc[5],[$rp+20]
448 addc @acc[7],$carry,@acc[7]
449 st @acc[6],[$rp+24]
451 st @acc[7],[$rp+28]
460 ld [$ap],@acc[0]
461 ld [$ap+4],@acc[1]
462 ld [$ap+8],@acc[2]
463 ld [$ap+12],@acc[3]
464 ld [$ap+16],@acc[4]
465 ld [$ap+20],@acc[5]
466 ld [$ap+24],@acc[6]
468 ld [$ap+28],@acc[7]
476 addcc @acc[0],@acc[0],@acc[0] ! a+a=2*a
477 addccc @acc[1],@acc[1],@acc[1]
478 addccc @acc[2],@acc[2],@acc[2]
479 addccc @acc[3],@acc[3],@acc[3]
480 addccc @acc[4],@acc[4],@acc[4]
481 addccc @acc[5],@acc[5],@acc[5]
482 addccc @acc[6],@acc[6],@acc[6]
483 addccc @acc[7],@acc[7],@acc[7]
494 ld [$ap],@acc[0]
495 ld [$ap+4],@acc[1]
496 ld [$ap+8],@acc[2]
497 ld [$ap+12],@acc[3]
498 ld [$ap+16],@acc[4]
499 ld [$ap+20],@acc[5]
500 ld [$ap+24],@acc[6]
502 ld [$ap+28],@acc[7]
510 addcc @acc[0],@acc[0],$t0 ! a+a=2*a
511 addccc @acc[1],@acc[1],$t1
512 addccc @acc[2],@acc[2],$t2
513 addccc @acc[3],@acc[3],$t3
514 addccc @acc[4],@acc[4],$t4
515 addccc @acc[5],@acc[5],$t5
516 addccc @acc[6],@acc[6],$t6
517 addccc @acc[7],@acc[7],$t7
540 addcc $t0,@acc[0],@acc[0] ! 2*a+a=3*a
541 addccc $t1,@acc[1],@acc[1]
542 addccc $t2,@acc[2],@acc[2]
543 addccc $t3,@acc[3],@acc[3]
544 addccc $t4,@acc[4],@acc[4]
545 addccc $t5,@acc[5],@acc[5]
546 addccc $t6,@acc[6],@acc[6]
547 addccc $t7,@acc[7],@acc[7]
559 ld [$ap],@acc[0]
560 ld [$ap+4],@acc[1]
561 ld [$ap+8],@acc[2]
562 ld [$ap+12],@acc[3]
563 ld [$ap+16],@acc[4]
564 ld [$ap+20],@acc[5]
565 ld [$ap+24],@acc[6]
567 ld [$ap+28],@acc[7]
579 mov 0,@acc[0]
580 mov 0,@acc[1]
581 mov 0,@acc[2]
582 mov 0,@acc[3]
583 mov 0,@acc[4]
584 mov 0,@acc[5]
585 mov 0,@acc[6]
587 mov 0,@acc[7]
599 subcc @acc[0],$t0,@acc[0]
602 subccc @acc[1],$t1,@acc[1]
603 subccc @acc[2],$t2,@acc[2]
606 subccc @acc[3],$t3,@acc[3]
607 subccc @acc[4],$t4,@acc[4]
608 subccc @acc[5],$t5,@acc[5]
609 subccc @acc[6],$t6,@acc[6]
610 subccc @acc[7],$t7,@acc[7]
623 addcc @acc[0],$carry,@acc[0] ! add synthesized modulus
624 addccc @acc[1],$carry,@acc[1]
626 st @acc[0],[$rp]
627 addccc @acc[2],$carry,@acc[2]
628 st @acc[1],[$rp+4]
629 addccc @acc[3],0,@acc[3]
630 st @acc[2],[$rp+8]
631 addccc @acc[4],0,@acc[4]
632 st @acc[3],[$rp+12]
633 addccc @acc[5],0,@acc[5]
634 st @acc[4],[$rp+16]
635 addccc @acc[6],$bi,@acc[6]
636 st @acc[5],[$rp+20]
637 addc @acc[7],$carry,@acc[7]
638 st @acc[6],[$rp+24]
640 st @acc[7],[$rp+28]
650 subcc $t0,@acc[0],@acc[0]
653 subccc $t1,@acc[1],@acc[1]
654 subccc $t2,@acc[2],@acc[2]
657 subccc $t3,@acc[3],@acc[3]
658 subccc $t4,@acc[4],@acc[4]
659 subccc $t5,@acc[5],@acc[5]
660 subccc $t6,@acc[6],@acc[6]
661 subccc $t7,@acc[7],@acc[7]
672 ld [$ap],@acc[0]
673 ld [$ap+4],@acc[1]
674 ld [$ap+8],@acc[2]
675 ld [$ap+12],@acc[3]
676 ld [$ap+16],@acc[4]
677 ld [$ap+20],@acc[5]
678 ld [$ap+24],@acc[6]
680 ld [$ap+28],@acc[7]
690 and @acc[0],1,$bi
692 addcc @acc[0],$carry,@acc[0]
693 addccc @acc[1],$carry,@acc[1]
694 addccc @acc[2],$carry,@acc[2]
695 addccc @acc[3],0,@acc[3]
696 addccc @acc[4],0,@acc[4]
697 addccc @acc[5],0,@acc[5]
698 addccc @acc[6],$bi,@acc[6]
699 addccc @acc[7],$carry,@acc[7]
704 srl @acc[0],1,@acc[0]
705 sll @acc[1],31,$t0
706 srl @acc[1],1,@acc[1]
707 or @acc[0],$t0,@acc[0]
708 sll @acc[2],31,$t1
709 srl @acc[2],1,@acc[2]
710 or @acc[1],$t1,@acc[1]
711 sll @acc[3],31,$t2
712 st @acc[0],[$rp]
713 srl @acc[3],1,@acc[3]
714 or @acc[2],$t2,@acc[2]
715 sll @acc[4],31,$t3
716 st @acc[1],[$rp+4]
717 srl @acc[4],1,@acc[4]
718 or @acc[3],$t3,@acc[3]
719 sll @acc[5],31,$t4
720 st @acc[2],[$rp+8]
721 srl @acc[5],1,@acc[5]
722 or @acc[4],$t4,@acc[4]
723 sll @acc[6],31,$t5
724 st @acc[3],[$rp+12]
725 srl @acc[6],1,@acc[6]
726 or @acc[5],$t5,@acc[5]
727 sll @acc[7],31,$t6
728 st @acc[4],[$rp+16]
729 srl @acc[7],1,@acc[7]
730 or @acc[6],$t6,@acc[6]
732 st @acc[5],[$rp+20]
733 or @acc[7],$t7,@acc[7]
734 st @acc[6],[$rp+24]
736 st @acc[7],[$rp+28]
774 ld [$ap+32],@acc[0]
775 ld [$ap+32+4],@acc[1]
776 ld [$ap+32+8],@acc[2]
777 ld [$ap+32+12],@acc[3]
778 ld [$ap+32+16],@acc[4]
779 ld [$ap+32+20],@acc[5]
780 ld [$ap+32+24],@acc[6]
781 ld [$ap+32+28],@acc[7]
799 ld [$ap_real],@acc[0]
801 ld [$ap_real+4],@acc[1]
802 ld [$ap_real+8],@acc[2]
803 ld [$ap_real+12],@acc[3]
804 ld [$ap_real+16],@acc[4]
805 ld [$ap_real+20],@acc[5]
806 ld [$ap_real+24],@acc[6]
807 ld [$ap_real+28],@acc[7]
974 or @acc[1],@acc[0],@acc[0] ! see if result is zero
975 or @acc[3],@acc[2],@acc[2]
976 or @acc[5],@acc[4],@acc[4]
977 or @acc[7],@acc[6],@acc[6]
978 or @acc[2],@acc[0],@acc[0]
979 or @acc[6],@acc[4],@acc[4]
980 or @acc[4],@acc[0],@acc[0]
981 st @acc[0],[%fp+STACK_BIAS-20]
997 or @acc[1],@acc[0],@acc[0] ! see if result is zero
998 or @acc[3],@acc[2],@acc[2]
999 or @acc[5],@acc[4],@acc[4]
1000 or @acc[7],@acc[6],@acc[6]
1001 or @acc[2],@acc[0],@acc[0]
1002 or @acc[6],@acc[4],@acc[4]
1003 orcc @acc[4],@acc[0],@acc[0]
1120 ld [%sp+LOCALS+$i],@acc[0] ! res
1121 ld [%sp+LOCALS+$i+4],@acc[1]
1122 ld [$bp_real+$i],@acc[2] ! in2
1123 ld [$bp_real+$i+4],@acc[3]
1124 ld [$ap_real+$i],@acc[4] ! in1
1125 ld [$ap_real+$i+4],@acc[5]
1126 movrz $t1,@acc[2],@acc[0]
1127 movrz $t1,@acc[3],@acc[1]
1128 movrz $t2,@acc[4],@acc[0]
1129 movrz $t2,@acc[5],@acc[1]
1130 st @acc[0],[$rp+$i]
1131 st @acc[1],[$rp+$i+4]
1192 ld [$bp],@acc[0] ! in2_x
1193 ld [$bp+4],@acc[1]
1194 ld [$bp+8],@acc[2]
1195 ld [$bp+12],@acc[3]
1196 ld [$bp+16],@acc[4]
1197 ld [$bp+20],@acc[5]
1198 ld [$bp+24],@acc[6]
1199 ld [$bp+28],@acc[7]
1208 or @acc[1],@acc[0],@acc[0]
1209 or @acc[3],@acc[2],@acc[2]
1210 or @acc[5],@acc[4],@acc[4]
1211 or @acc[7],@acc[6],@acc[6]
1212 or @acc[2],@acc[0],@acc[0]
1213 or @acc[6],@acc[4],@acc[4]
1214 or @acc[4],@acc[0],@acc[0]
1222 or @acc[0],$t0,$t0 ! !in2infty
1314 ld [%sp+LOCALS+$i],@acc[0] ! res
1315 ld [%sp+LOCALS+$i+4],@acc[1]
1316 ld [$bp_real+$i],@acc[2] ! in2
1317 ld [$bp_real+$i+4],@acc[3]
1318 ld [$ap_real+$i],@acc[4] ! in1
1319 ld [$ap_real+$i+4],@acc[5]
1320 movrz $t1,@acc[2],@acc[0]
1321 movrz $t1,@acc[3],@acc[1]
1322 movrz $t2,@acc[4],@acc[0]
1323 movrz $t2,@acc[5],@acc[1]
1324 st @acc[0],[$rp+$i]
1325 st @acc[1],[$rp+$i+4]
1331 ld [%sp+LOCALS+$i],@acc[0] ! res
1332 ld [%sp+LOCALS+$i+4],@acc[1]
1333 ld [$ap_real+$i],@acc[4] ! in1
1334 ld [$ap_real+$i+4],@acc[5]
1335 movrz $t1,@ONE_mont[$j],@acc[0]
1336 movrz $t1,@ONE_mont[$j+1],@acc[1]
1337 movrz $t2,@acc[4],@acc[0]
1338 movrz $t2,@acc[5],@acc[1]
1339 st @acc[0],[$rp+$i]
1340 st @acc[1],[$rp+$i+4]