Lines Matching refs:X
87 my @X=@$x; # make a copy
91 mov ($ASRC), $X[0]
92 add %rax, $X[0]
94 mov $X[0], $DST
102 mov (+8*$i)($ASRC), $X[$i]
103 add %rax, $X[$i]
105 add $TMP, $X[$i]
110 mov %rdx, $X[0]
120 my @X=@$x; # make a copy
124 add %rax, $X[0]
126 mov $X[0], $DST
134 add %rax, $X[$i]
136 add $TMP, $X[$i]
141 mov %rdx, $X[0]
375 my ($pDst, $pA, $pB, $OP, $TMP, $X)=@_;
379 &MULSTEP_512_ADD($X, "(+8*0)($pDst)", $pB, $pA, $OP, $TMP);
380 push(@$X,shift(@$X));
385 &MULSTEP_512($X, "(+8*1)($pDst)", $pB, $OP, $TMP);
386 push(@$X,shift(@$X));
391 &MULSTEP_512($X, "(+8*2)($pDst)", $pB, $OP, $TMP);
392 push(@$X,shift(@$X));
397 &MULSTEP_512($X, "(+8*3)($pDst)", $pB, $OP, $TMP);
398 push(@$X,shift(@$X));
412 my @X=map("%r$_",(8..15));
431 &MULADD_256x512("%rdi", "%rcx", "%rsi", "%rbp", "%rbx", \@X); # rotates @X 4 times
437 add (+8*8)(%rcx), $X[4]
438 adc (+8*9)(%rcx), $X[5]
439 adc (+8*10)(%rcx), $X[6]
440 adc (+8*11)(%rcx), $X[7]
446 mov $X[4], (+8*8)(%rdi) # rdi points to X1
447 mov $X[5], (+8*9)(%rdi)
448 mov $X[6], %rbp
449 mov $X[7], (+8*11)(%rdi)
453 mov (+8*0)(%rdi), $X[4]
454 mov (+8*1)(%rdi), $X[5]
455 mov (+8*2)(%rdi), $X[6]
456 mov (+8*3)(%rdi), $X[7]
470 unshift(@X,pop(@X)); unshift(@X,pop(@X));
478 add (+8*8-8*10)(%rdi), $X[6] # (-8*10) is to adjust rdi -> Xh to Xl
479 adc (+8*9-8*10)(%rdi), $X[7]
480 mov $X[6], (+8*8)(%rcx)
481 mov $X[7], (+8*9)(%rcx)
514 mov (%rcx), $X[6]
515 mov (+8*1)(%rcx), $X[7] # r9:r8 = X2[1:0]
530 add (+8*8)(%rcx), $X[6]
531 adc (+8*9)(%rcx), $X[7]
545 add (+8*8*0)(%rbp), $X[0]
546 adc (+8*8*1)(%rbp), $X[1]
547 adc (+8*8*2)(%rbp), $X[2]
548 adc (+8*8*3)(%rbp), $X[3]
549 adc (+8*8*4)(%rbp), $X[4]
550 adc (+8*8*5)(%rbp), $X[5]
551 adc (+8*8*6)(%rbp), $X[6]
552 adc (+8*8*7)(%rbp), $X[7]
565 sub %rax, $X[0]
566 sbb %rbx, $X[1]
567 sbb %rdi, $X[2]
568 sbb %rdx, $X[3]
594 sbb %rax, $X[4]
595 sbb %rbx, $X[5]
596 sbb %rdi, $X[6]
597 sbb %rdx, $X[7]
602 mov $X[0], (+8*0)(%rsi)
603 mov $X[1], (+8*1)(%rsi)
604 mov $X[2], (+8*2)(%rsi)
605 mov $X[3], (+8*3)(%rsi)
606 mov $X[4], (+8*4)(%rsi)
607 mov $X[5], (+8*5)(%rsi)
608 mov $X[6], (+8*6)(%rsi)
609 mov $X[7], (+8*7)(%rsi)
628 my @X=@$x; # make a copy
633 mov $X[0], %rax
636 mov %rdx, $X[0]
640 mov $X[$i], %rax
642 add %rax, $X[$i-1]
644 mov %rdx, $X[$i]
653 &MULSTEP_512(\@X, "(+$pDst_o+8*$i)($pDst)", $pB, $OP, $TMP);
654 push(@X,shift(@X));
658 mov $X[0], (+$pDst_o+8*8)($pDst)
659 mov $X[1], (+$pDst_o+8*9)($pDst)
660 mov $X[2], (+$pDst_o+8*10)($pDst)
661 mov $X[3], (+$pDst_o+8*11)($pDst)
662 mov $X[4], (+$pDst_o+8*12)($pDst)
663 mov $X[5], (+$pDst_o+8*13)($pDst)
664 mov $X[6], (+$pDst_o+8*14)($pDst)
665 mov $X[7], (+$pDst_o+8*15)($pDst)
712 my @X=@$x; # make a copy
717 mov $X[0], $A
719 mov $X[1],%rax
725 mov %rdx, $X[$i-2]
726 mov $X[$i],%rax
728 add %rax, $X[$i-2]
735 mov $X[0], (+$pDst_o+8*2)($pDst)
745 add %rax, $X[1]
747 mov $X[1], (+$pDst_o+8*3)($pDst)
749 mov %rdx, $X[0]
752 add %rax, $X[2]
754 add $X[0], $X[2]
756 mov $X[2], (+$pDst_o+8*4)($pDst)
758 mov %rdx, $X[0]
761 add %rax, $X[3]
763 add $X[0], $X[3]
766 mov %rdx, $X[0]
769 add %rax, $X[4]
771 add $X[0], $X[4]
774 mov %rdx, $X[0]
775 mov $X[6],%rax
777 add %rax, $X[5]
779 add $X[0], $X[5]
782 mov %rdx, $X[0]
783 mov $X[7],%rax
787 add $X[0], $x7
790 mov %rdx, $X[1]
799 add %rax, $X[3]
801 mov $X[3], (+$pDst_o+8*5)($pDst)
803 mov %rdx, $X[0]
806 add %rax, $X[4]
808 add $X[0], $X[4]
810 mov $X[4], (+$pDst_o+8*6)($pDst)
812 mov %rdx, $X[0]
815 add %rax, $X[5]
817 add $X[0], $X[5]
820 mov %rdx, $X[0]
821 mov $X[6],%rax
825 add $X[0], $x7
828 mov %rdx, $X[0]
829 mov $X[7],%rax
831 add %rax, $X[1]
833 add $X[0], $X[1]
836 mov %rdx, $X[2]
846 add %rax, $X[5]
848 mov $X[5], (+$pDst_o+8*7)($pDst)
850 mov %rdx, $X[0]
855 add $X[0], $x7
859 mov %rdx, $X[0]
860 mov $X[6],%rax
862 add %rax, $X[1]
864 add $X[0], $X[1]
867 mov %rdx, $X[0]
868 mov $X[7],%rax
870 add %rax, $X[2]
872 add $X[0], $X[2]
875 mov %rdx, $X[5]
884 add %rax, $X[1]
886 mov $X[1], (+$pDst_o+8*9)($pDst)
888 mov %rdx, $X[0]
889 mov $X[6],%rax
891 add %rax, $X[2]
893 add $X[0], $X[2]
895 mov $X[2], (+$pDst_o+8*10)($pDst)
897 mov %rdx, $X[0]
898 mov $X[7],%rax
900 add %rax, $X[5]
902 add $X[0], $X[5]
905 mov %rdx, $X[1]
912 mov $X[6],%rax
914 add %rax, $X[5]
916 mov $X[5], (+$pDst_o+8*11)($pDst)
918 mov %rdx, $X[0]
919 mov $X[7],%rax
921 add %rax, $X[1]
923 add $X[0], $X[1]
925 mov $X[1], (+$pDst_o+8*12)($pDst)
927 mov %rdx, $X[2]
932 mov $X[6], $A
934 mov $X[7],%rax
936 add %rax, $X[2]
938 mov $X[2], (+$pDst_o+8*13)($pDst)
943 mov (+$pDst_o+8*1)($pDst), $X[0]
944 mov (+$pDst_o+8*2)($pDst), $X[1]
945 mov (+$pDst_o+8*3)($pDst), $X[2]
946 mov (+$pDst_o+8*4)($pDst), $X[3]
947 mov (+$pDst_o+8*5)($pDst), $X[4]
948 mov (+$pDst_o+8*6)($pDst), $X[5]
953 mov %rdx, $X[6]
955 add $X[0], $X[0]
956 adc $X[1], $X[1]
957 adc $X[2], $X[2]
958 adc $X[3], $X[3]
959 adc $X[4], $X[4]
960 adc $X[5], $X[5]
961 adc \$0, $X[6]
971 add $A, $X[0]
972 adc %rax, $X[1]
976 mov $X[0], (+$pDst_o+8*1)($pDst)
977 mov $X[1], (+$pDst_o+8*2)($pDst)
982 add $A, $X[2]
983 adc %rax, $X[3]
988 mov $X[2], (+$pDst_o+8*3)($pDst)
989 mov $X[3], (+$pDst_o+8*4)($pDst)
992 add $A, $X[4]
993 adc $x6, $X[5]
996 mov $X[4], (+$pDst_o+8*5)($pDst)
997 mov $X[5], (+$pDst_o+8*6)($pDst)
1002 mov (+$pDst_o+8*7)($pDst), $X[0]
1003 mov (+$pDst_o+8*8)($pDst), $X[1]
1004 mov (+$pDst_o+8*9)($pDst), $X[2]
1005 mov (+$pDst_o+8*10)($pDst), $X[3]
1006 mov (+$pDst_o+8*11)($pDst), $X[4]
1007 mov (+$pDst_o+8*12)($pDst), $X[5]
1011 mov $X[7], %rax
1013 mov %rax, $X[7]
1016 add $X[0], $X[0]
1017 adc $X[1], $X[1]
1018 adc $X[2], $X[2]
1019 adc $X[3], $X[3]
1020 adc $X[4], $X[4]
1021 adc $X[5], $X[5]
1026 add $tmp, $X[0]
1031 add $X[6], $X[0]
1032 adc %rax, $X[1]
1037 mov $X[0], (+$pDst_o+8*7)($pDst)
1038 mov $X[1], (+$pDst_o+8*8)($pDst)
1043 add $tmp, $X[2]
1044 adc %rax, $X[3]
1049 mov $X[2], (+$pDst_o+8*9)($pDst)
1050 mov $X[3], (+$pDst_o+8*10)($pDst)
1055 add $tmp, $X[4]
1056 adc %rax, $X[5]
1059 mov $X[4], (+$pDst_o+8*11)($pDst)
1060 mov $X[5], (+$pDst_o+8*12)($pDst)
1063 adc $X[7], $x7