Lines Matching refs:X
555 my @X=map("xmm$_",(4..7,0..3)); # pre-seeded for $Xi=4
572 &movdqa (@X[3],&QWP(0,$tmp1)); # K_00_19
573 &movdqa (@X[4],&QWP(16,$tmp1)); # K_20_39
574 &movdqa (@X[5],&QWP(32,$tmp1)); # K_40_59
575 &movdqa (@X[6],&QWP(48,$tmp1)); # K_60_79
576 &movdqa (@X[2],&QWP(64,$tmp1)); # pbswap mask
607 &movdqa (&QWP(112+0,"esp"),@X[4]); # copy constants
608 &movdqa (&QWP(112+16,"esp"),@X[5]);
609 &movdqa (&QWP(112+32,"esp"),@X[6]);
611 &movdqa (&QWP(112+48,"esp"),@X[3]);
613 &movdqa (&QWP(112+64,"esp"),@X[2]);
627 &movdqu (@X[-4&7],&QWP(-64,$inp)); # load input to %xmm[0-3]
628 &movdqu (@X[-3&7],&QWP(-48,$inp));
629 &movdqu (@X[-2&7],&QWP(-32,$inp));
630 &movdqu (@X[-1&7],&QWP(-16,$inp));
631 &pshufb (@X[-4&7],@X[2]); # byte swap
632 &pshufb (@X[-3&7],@X[2]);
633 &pshufb (@X[-2&7],@X[2]);
634 &movdqa (&QWP(112-16,"esp"),@X[3]); # borrow last backtrace slot
635 &pshufb (@X[-1&7],@X[2]);
636 &paddd (@X[-4&7],@X[3]); # add K_00_19
637 &paddd (@X[-3&7],@X[3]);
638 &paddd (@X[-2&7],@X[3]);
639 &movdqa (&QWP(0,"esp"),@X[-4&7]); # X[]+K xfer to IALU
640 &psubd (@X[-4&7],@X[3]); # restore X[]
641 &movdqa (&QWP(0+16,"esp"),@X[-3&7]);
642 &psubd (@X[-3&7],@X[3]);
643 &movdqa (&QWP(0+32,"esp"),@X[-2&7]);
645 &psubd (@X[-2&7],@X[3]);
647 &pshufd (@X[0],@X[-4&7],0xee); # was &movdqa (@X[0],@X[-3&7]);
677 &punpcklqdq(@X[0],@X[-3&7]); # compose "X[-14]" in "X[0]", was &palignr(@X[0],@X[-4&7],8);
678 &movdqa (@X[2],@X[-1&7]);
682 &paddd (@X[3],@X[-1&7]);
683 &movdqa (&QWP(64+16*(($Xi-4)%3),"esp"),@X[-4&7]);# save X[] to backtrace buffer
686 &psrldq (@X[2],4); # "X[-3]", 3 dwords
689 &pxor (@X[0],@X[-4&7]); # "X[0]"^="X[-16]"
693 &pxor (@X[2],@X[-2&7]); # "X[-3]"^"X[-8]"
698 &pxor (@X[0],@X[2]); # "X[0]"^="X[-3]"^"X[-8]"
701 &movdqa (&QWP(0+16*(($Xi-1)&3),"esp"),@X[3]); # X[]+K xfer to IALU
705 &movdqa (@X[4],@X[0]);
709 &movdqa (@X[2],@X[0]);
712 &pslldq (@X[4],12); # "X[0]"<<96, extract one dword
713 &paddd (@X[0],@X[0]);
717 &psrld (@X[2],31);
720 &movdqa (@X[3],@X[4]);
725 &psrld (@X[4],30);
728 &por (@X[0],@X[2]); # "X[0]"<<<=1
730 &movdqa (@X[2],&QWP(64+16*(($Xi-6)%3),"esp")) if ($Xi>5); # restore X[] from backtrace buffer
734 &pslld (@X[3],2);
737 &pxor (@X[0],@X[4]);
738 &movdqa (@X[4],&QWP(112-16+16*(($Xi)/5),"esp")); # K_XX_XX
742 &pxor (@X[0],@X[3]); # "X[0]"^=("X[0]"<<96)<<<2
743 &pshufd (@X[1],@X[-3&7],0xee) if ($Xi<7); # was &movdqa (@X[1],@X[-2&7])
744 &pshufd (@X[3],@X[-1&7],0xee) if ($Xi==7);
750 $Xi++; push(@X,shift(@X)); # "rotate" X[]
760 &pxor (@X[0],@X[-4&7]); # "X[0]"="X[-32]"^"X[-16]"
761 &punpcklqdq(@X[2],@X[-1&7]); # compose "X[-6]", was &palignr(@X[2],@X[-2&7],8)
766 &pxor (@X[0],@X[-7&7]); # "X[0]"^="X[-28]"
767 &movdqa (&QWP(64+16*(($Xi-4)%3),"esp"),@X[-4&7]); # save X[] to backtrace buffer
772 &movdqa (@X[4],@X[3]); # "perpetuate" K_XX_XX...
774 &movdqa (@X[4],&QWP(112-16+16*($Xi/5),"esp"));
777 &paddd (@X[3],@X[-1&7]);
780 &pxor (@X[0],@X[2]); # "X[0]"^="X[-6]"
786 &movdqa (@X[2],@X[0]);
787 &movdqa (&QWP(0+16*(($Xi-1)&3),"esp"),@X[3]); # X[]+K xfer to IALU
794 &pslld (@X[0],2);
797 &psrld (@X[2],30);
807 &por (@X[0],@X[2]); # "X[0]"<<<=2
810 &movdqa (@X[2],&QWP(64+16*(($Xi-6)%3),"esp")) if($Xi<19); # restore X[] from backtrace buffer
816 &pshufd (@X[3],@X[-1],0xee) if ($Xi<19); # was &movdqa (@X[3],@X[0])
821 $Xi++; push(@X,shift(@X)); # "rotate" X[]
837 &paddd (@X[3],@X[-1&7]);
843 &movdqa (&QWP(0+16*(($Xi-1)&3),"esp"),@X[3]); # X[]+K xfer IALU
851 &movdqa (@X[3],&QWP(112+48,"esp")); # K_00_19
852 &movdqa (@X[2],&QWP(112+64,"esp")); # pbswap mask
853 &movdqu (@X[-4&7],&QWP(0,$inp)); # load input
854 &movdqu (@X[-3&7],&QWP(16,$inp));
855 &movdqu (@X[-2&7],&QWP(32,$inp));
856 &movdqu (@X[-1&7],&QWP(48,$inp));
858 &pshufb (@X[-4&7],@X[2]); # byte swap
860 &movdqa (&QWP(112-16,"esp"),@X[3]); # borrow last backtrace slot
878 &pshufb (@X[($Xi-3)&7],@X[2]);
883 &paddd (@X[($Xi-4)&7],@X[3]);
888 &movdqa (&QWP(0+16*$Xi,"esp"),@X[($Xi-4)&7]); # X[]+K xfer to IALU
893 &psubd (@X[($Xi-4)&7],@X[3]);
1068 &pshufd (@X[0],@X[-4&7],0xee); # was &movdqa (@X[0],@X[-3&7]);
1099 my @X=map("xmm$_",(4..7,0..3)); # pre-seeded for $Xi=4
1116 &vmovdqa(@X[3],&QWP(0,$tmp1)); # K_00_19
1117 &vmovdqa(@X[4],&QWP(16,$tmp1)); # K_20_39
1118 &vmovdqa(@X[5],&QWP(32,$tmp1)); # K_40_59
1119 &vmovdqa(@X[6],&QWP(48,$tmp1)); # K_60_79
1120 &vmovdqa(@X[2],&QWP(64,$tmp1)); # pbswap mask
1151 &vmovdqa(&QWP(112+0,"esp"),@X[4]); # copy constants
1152 &vmovdqa(&QWP(112+16,"esp"),@X[5]);
1153 &vmovdqa(&QWP(112+32,"esp"),@X[6]);
1155 &vmovdqa(&QWP(112+48,"esp"),@X[3]);
1157 &vmovdqa(&QWP(112+64,"esp"),@X[2]);
1171 &vmovdqu(@X[-4&7],&QWP(-64,$inp)); # load input to %xmm[0-3]
1172 &vmovdqu(@X[-3&7],&QWP(-48,$inp));
1173 &vmovdqu(@X[-2&7],&QWP(-32,$inp));
1174 &vmovdqu(@X[-1&7],&QWP(-16,$inp));
1175 &vpshufb(@X[-4&7],@X[-4&7],@X[2]); # byte swap
1176 &vpshufb(@X[-3&7],@X[-3&7],@X[2]);
1177 &vpshufb(@X[-2&7],@X[-2&7],@X[2]);
1178 &vmovdqa(&QWP(112-16,"esp"),@X[3]); # borrow last backtrace slot
1179 &vpshufb(@X[-1&7],@X[-1&7],@X[2]);
1180 &vpaddd (@X[0],@X[-4&7],@X[3]); # add K_00_19
1181 &vpaddd (@X[1],@X[-3&7],@X[3]);
1182 &vpaddd (@X[2],@X[-2&7],@X[3]);
1183 &vmovdqa(&QWP(0,"esp"),@X[0]); # X[]+K xfer to IALU
1185 &vmovdqa(&QWP(0+16,"esp"),@X[1]);
1187 &vmovdqa(&QWP(0+32,"esp"),@X[2]);
1199 &vpalignr(@X[0],@X[-3&7],@X[-4&7],8); # compose "X[-14]" in "X[0]"
1203 &vpaddd (@X[3],@X[3],@X[-1&7]);
1204 &vmovdqa (&QWP(64+16*(($Xi-4)%3),"esp"),@X[-4&7]);# save X[] to backtrace buffer
1207 &vpsrldq(@X[2],@X[-1&7],4); # "X[-3]", 3 dwords
1210 &vpxor (@X[0],@X[0],@X[-4&7]); # "X[0]"^="X[-16]"
1214 &vpxor (@X[2],@X[2],@X[-2&7]); # "X[-3]"^"X[-8]"
1217 &vmovdqa (&QWP(0+16*(($Xi-1)&3),"esp"),@X[3]); # X[]+K xfer to IALU
1221 &vpxor (@X[0],@X[0],@X[2]); # "X[0]"^="X[-3]"^"X[-8]"
1227 &vpsrld (@X[2],@X[0],31);
1233 &vpslldq(@X[4],@X[0],12); # "X[0]"<<96, extract one dword
1234 &vpaddd (@X[0],@X[0],@X[0]);
1240 &vpsrld (@X[3],@X[4],30);
1241 &vpor (@X[0],@X[0],@X[2]); # "X[0]"<<<=1
1247 &vpslld (@X[4],@X[4],2);
1248 &vmovdqa (@X[2],&QWP(64+16*(($Xi-6)%3),"esp")) if ($Xi>5); # restore X[] from backtrace buffer
1251 &vpxor (@X[0],@X[0],@X[3]);
1257 &vpxor (@X[0],@X[0],@X[4]); # "X[0]"^=("X[0]"<<96)<<<2
1260 &vmovdqa (@X[4],&QWP(112-16+16*(($Xi)/5),"esp")); # K_XX_XX
1266 $Xi++; push(@X,shift(@X)); # "rotate" X[]
1275 &vpalignr(@X[2],@X[-1&7],@X[-2&7],8); # compose "X[-6]"
1276 &vpxor (@X[0],@X[0],@X[-4&7]); # "X[0]"="X[-32]"^"X[-16]"
1282 &vpxor (@X[0],@X[0],@X[-7&7]); # "X[0]"^="X[-28]"
1283 &vmovdqa (&QWP(64+16*(($Xi-4)%3),"esp"),@X[-4&7]); # save X[] to backtrace buffer
1287 &vmovdqa (@X[4],@X[3]); # "perpetuate" K_XX_XX...
1289 &vmovdqa (@X[4],&QWP(112-16+16*($Xi/5),"esp"));
1291 &vpaddd (@X[3],@X[3],@X[-1&7]);
1295 &vpxor (@X[0],@X[0],@X[2]); # "X[0]"^="X[-6]"
1301 &vpsrld (@X[2],@X[0],30);
1302 &vmovdqa (&QWP(0+16*(($Xi-1)&3),"esp"),@X[3]); # X[]+K xfer to IALU
1308 &vpslld (@X[0],@X[0],2);
1318 &vpor (@X[0],@X[0],@X[2]); # "X[0]"<<<=2
1321 &vmovdqa (@X[2],&QWP(64+16*(($Xi-6)%3),"esp")) if($Xi<19); # restore X[] from backtrace buffer
1331 $Xi++; push(@X,shift(@X)); # "rotate" X[]
1341 &vpaddd (@X[3],@X[3],@X[-1&7]);
1347 &vmovdqa (&QWP(0+16*(($Xi-1)&3),"esp"),@X[3]); # X[]+K xfer IALU
1355 &vmovdqa(@X[3],&QWP(112+48,"esp")); # K_00_19
1356 &vmovdqa(@X[2],&QWP(112+64,"esp")); # pbswap mask
1357 &vmovdqu(@X[-4&7],&QWP(0,$inp)); # load input
1358 &vmovdqu(@X[-3&7],&QWP(16,$inp));
1359 &vmovdqu(@X[-2&7],&QWP(32,$inp));
1360 &vmovdqu(@X[-1&7],&QWP(48,$inp));
1362 &vpshufb(@X[-4&7],@X[-4&7],@X[2]); # byte swap
1364 &vmovdqa(&QWP(112-16,"esp"),@X[3]); # borrow last backtrace slot
1377 &vpshufb (@X[($Xi-3)&7],@X[($Xi-3)&7],@X[2]);
1380 &vpaddd (@X[$Xi&7],@X[($Xi-4)&7],@X[3]);
1385 &vmovdqa (&QWP(0+16*$Xi,"esp"),@X[$Xi&7]); # X[]+K xfer to IALU