Lines Matching refs:x

147 @x=("%eax","%ebx","%ecx","%edx",map("%r${_}d",(8..11)),
157 my @x=map("\"$_\"",@x);
189 "&add (@x[$a0],@x[$b0])", # Q1
190 "&xor (@x[$d0],@x[$a0])",
191 "&rol (@x[$d0],16)",
192 "&add (@x[$a1],@x[$b1])", # Q2
193 "&xor (@x[$d1],@x[$a1])",
194 "&rol (@x[$d1],16)",
196 "&add ($xc,@x[$d0])",
197 "&xor (@x[$b0],$xc)",
198 "&rol (@x[$b0],12)",
199 "&add ($xc_,@x[$d1])",
200 "&xor (@x[$b1],$xc_)",
201 "&rol (@x[$b1],12)",
203 "&add (@x[$a0],@x[$b0])",
204 "&xor (@x[$d0],@x[$a0])",
205 "&rol (@x[$d0],8)",
206 "&add (@x[$a1],@x[$b1])",
207 "&xor (@x[$d1],@x[$a1])",
208 "&rol (@x[$d1],8)",
210 "&add ($xc,@x[$d0])",
211 "&xor (@x[$b0],$xc)",
212 "&rol (@x[$b0],7)",
213 "&add ($xc_,@x[$d1])",
214 "&xor (@x[$b1],$xc_)",
215 "&rol (@x[$b1],7)",
222 "&add (@x[$a2],@x[$b2])", # Q3
223 "&xor (@x[$d2],@x[$a2])",
224 "&rol (@x[$d2],16)",
225 "&add (@x[$a3],@x[$b3])", # Q4
226 "&xor (@x[$d3],@x[$a3])",
227 "&rol (@x[$d3],16)",
229 "&add ($xc,@x[$d2])",
230 "&xor (@x[$b2],$xc)",
231 "&rol (@x[$b2],12)",
232 "&add ($xc_,@x[$d3])",
233 "&xor (@x[$b3],$xc_)",
234 "&rol (@x[$b3],12)",
236 "&add (@x[$a2],@x[$b2])",
237 "&xor (@x[$d2],@x[$a2])",
238 "&rol (@x[$d2],8)",
239 "&add (@x[$a3],@x[$b3])",
240 "&xor (@x[$d3],@x[$a3])",
241 "&rol (@x[$d3],8)",
243 "&add ($xc,@x[$d2])",
244 "&xor (@x[$b2],$xc)",
245 "&rol (@x[$b2],7)",
246 "&add ($xc_,@x[$d3])",
247 "&xor (@x[$b3],$xc_)",
248 "&rol (@x[$b3],7)"
305 mov \$0x61707865,@x[0] # 'expa'
306 mov \$0x3320646e,@x[1] # 'nd 3'
307 mov \$0x79622d32,@x[2] # '2-by'
308 mov \$0x6b206574,@x[3] # 'te k'
309 mov 4*4(%rsp),@x[4]
310 mov 4*5(%rsp),@x[5]
311 mov 4*6(%rsp),@x[6]
312 mov 4*7(%rsp),@x[7]
313 movd %xmm3,@x[12]
314 mov 4*13(%rsp),@x[13]
315 mov 4*14(%rsp),@x[14]
316 mov 4*15(%rsp),@x[15]
321 movq %xmm2,%rsi # "@x[8]"
324 shr \$32,%rdi # "@x[9]"
344 add \$0x61707865,@x[0] # 'expa'
345 add \$0x3320646e,@x[1] # 'nd 3'
346 add \$0x79622d32,@x[2] # '2-by'
347 add \$0x6b206574,@x[3] # 'te k'
348 add 4*4(%rsp),@x[4]
349 add 4*5(%rsp),@x[5]
350 add 4*6(%rsp),@x[6]
351 add 4*7(%rsp),@x[7]
352 add 4*12(%rsp),@x[12]
353 add 4*13(%rsp),@x[13]
354 add 4*14(%rsp),@x[14]
355 add 4*15(%rsp),@x[15]
361 xor 4*0($inp),@x[0] # xor with input
362 xor 4*1($inp),@x[1]
363 xor 4*2($inp),@x[2]
364 xor 4*3($inp),@x[3]
365 xor 4*4($inp),@x[4]
366 xor 4*5($inp),@x[5]
367 xor 4*6($inp),@x[6]
368 xor 4*7($inp),@x[7]
370 xor 4*12($inp),@x[12]
371 xor 4*13($inp),@x[13]
372 xor 4*14($inp),@x[14]
373 xor 4*15($inp),@x[15]
380 mov @x[0],4*0($out) # write output
381 mov @x[1],4*1($out)
382 mov @x[2],4*2($out)
383 mov @x[3],4*3($out)
384 mov @x[4],4*4($out)
385 mov @x[5],4*5($out)
386 mov @x[6],4*6($out)
387 mov @x[7],4*7($out)
389 mov @x[12],4*12($out)
390 mov @x[13],4*13($out)
391 mov @x[14],4*14($out)
392 mov @x[15],4*15($out)
402 mov @x[0],4*0(%rsp)
403 mov @x[1],4*1(%rsp)
405 mov @x[2],4*2(%rsp)
406 mov @x[3],4*3(%rsp)
407 mov @x[4],4*4(%rsp)
408 mov @x[5],4*5(%rsp)
409 mov @x[6],4*6(%rsp)
410 mov @x[7],4*7(%rsp)
412 mov @x[12],4*12(%rsp)
413 mov @x[13],4*13(%rsp)
414 mov @x[14],4*14(%rsp)
415 mov @x[15],4*15(%rsp)
793 my @x=map("\"$_\"",@xx);
818 "&paddd (@x[$a0],@x[$b0])", # Q1
819 "&paddd (@x[$a1],@x[$b1])", # Q2
820 "&pxor (@x[$d0],@x[$a0])",
821 "&pxor (@x[$d1],@x[$a1])",
822 "&pshufb (@x[$d0],$t1)",
823 "&pshufb (@x[$d1],$t1)",
825 "&paddd ($xc,@x[$d0])",
826 "&paddd ($xc_,@x[$d1])",
827 "&pxor (@x[$b0],$xc)",
828 "&pxor (@x[$b1],$xc_)",
829 "&movdqa ($t0,@x[$b0])",
830 "&pslld (@x[$b0],12)",
832 "&movdqa ($t1,@x[$b1])",
833 "&pslld (@x[$b1],12)",
834 "&por (@x[$b0],$t0)",
837 "&por (@x[$b1],$t1)",
839 "&paddd (@x[$a0],@x[$b0])",
840 "&paddd (@x[$a1],@x[$b1])",
841 "&pxor (@x[$d0],@x[$a0])",
842 "&pxor (@x[$d1],@x[$a1])",
843 "&pshufb (@x[$d0],$t0)",
844 "&pshufb (@x[$d1],$t0)",
846 "&paddd ($xc,@x[$d0])",
847 "&paddd ($xc_,@x[$d1])",
848 "&pxor (@x[$b0],$xc)",
849 "&pxor (@x[$b1],$xc_)",
850 "&movdqa ($t1,@x[$b0])",
851 "&pslld (@x[$b0],7)",
853 "&movdqa ($t0,@x[$b1])",
854 "&pslld (@x[$b1],7)",
855 "&por (@x[$b0],$t1)",
858 "&por (@x[$b1],$t0)",
865 "&paddd (@x[$a2],@x[$b2])", # Q3
866 "&paddd (@x[$a3],@x[$b3])", # Q4
867 "&pxor (@x[$d2],@x[$a2])",
868 "&pxor (@x[$d3],@x[$a3])",
869 "&pshufb (@x[$d2],$t1)",
870 "&pshufb (@x[$d3],$t1)",
872 "&paddd ($xc,@x[$d2])",
873 "&paddd ($xc_,@x[$d3])",
874 "&pxor (@x[$b2],$xc)",
875 "&pxor (@x[$b3],$xc_)",
876 "&movdqa ($t0,@x[$b2])",
877 "&pslld (@x[$b2],12)",
879 "&movdqa ($t1,@x[$b3])",
880 "&pslld (@x[$b3],12)",
881 "&por (@x[$b2],$t0)",
884 "&por (@x[$b3],$t1)",
886 "&paddd (@x[$a2],@x[$b2])",
887 "&paddd (@x[$a3],@x[$b3])",
888 "&pxor (@x[$d2],@x[$a2])",
889 "&pxor (@x[$d3],@x[$a3])",
890 "&pshufb (@x[$d2],$t0)",
891 "&pshufb (@x[$d3],$t0)",
893 "&paddd ($xc,@x[$d2])",
894 "&paddd ($xc_,@x[$d3])",
895 "&pxor (@x[$b2],$xc)",
896 "&pxor (@x[$b3],$xc_)",
897 "&movdqa ($t1,@x[$b2])",
898 "&pslld (@x[$b2],7)",
900 "&movdqa ($t0,@x[$b3])",
901 "&pslld (@x[$b3],7)",
902 "&por (@x[$b2],$t1)",
905 "&por (@x[$b3],$t0)"
1026 movdqa $xt2,0x20(%rsp) # SIMD equivalent of "@x[10]"
1027 movdqa $xt3,0x30(%rsp) # SIMD equivalent of "@x[11]"
1385 my @x=map("\"$_\"",@xx);
1388 "&vpaddd (@x[$a0],@x[$a0],@x[$b0])", # Q1
1389 "&vpaddd (@x[$a1],@x[$a1],@x[$b1])", # Q2
1390 "&vpaddd (@x[$a2],@x[$a2],@x[$b2])", # Q3
1391 "&vpaddd (@x[$a3],@x[$a3],@x[$b3])", # Q4
1392 "&vpxor (@x[$d0],@x[$a0],@x[$d0])",
1393 "&vpxor (@x[$d1],@x[$a1],@x[$d1])",
1394 "&vpxor (@x[$d2],@x[$a2],@x[$d2])",
1395 "&vpxor (@x[$d3],@x[$a3],@x[$d3])",
1396 "&vprotd (@x[$d0],@x[$d0],16)",
1397 "&vprotd (@x[$d1],@x[$d1],16)",
1398 "&vprotd (@x[$d2],@x[$d2],16)",
1399 "&vprotd (@x[$d3],@x[$d3],16)",
1401 "&vpaddd (@x[$c0],@x[$c0],@x[$d0])",
1402 "&vpaddd (@x[$c1],@x[$c1],@x[$d1])",
1403 "&vpaddd (@x[$c2],@x[$c2],@x[$d2])",
1404 "&vpaddd (@x[$c3],@x[$c3],@x[$d3])",
1405 "&vpxor (@x[$b0],@x[$c0],@x[$b0])",
1406 "&vpxor (@x[$b1],@x[$c1],@x[$b1])",
1407 "&vpxor (@x[$b2],@x[$b2],@x[$c2])", # flip
1408 "&vpxor (@x[$b3],@x[$b3],@x[$c3])", # flip
1409 "&vprotd (@x[$b0],@x[$b0],12)",
1410 "&vprotd (@x[$b1],@x[$b1],12)",
1411 "&vprotd (@x[$b2],@x[$b2],12)",
1412 "&vprotd (@x[$b3],@x[$b3],12)",
1414 "&vpaddd (@x[$a0],@x[$b0],@x[$a0])", # flip
1415 "&vpaddd (@x[$a1],@x[$b1],@x[$a1])", # flip
1416 "&vpaddd (@x[$a2],@x[$a2],@x[$b2])",
1417 "&vpaddd (@x[$a3],@x[$a3],@x[$b3])",
1418 "&vpxor (@x[$d0],@x[$a0],@x[$d0])",
1419 "&vpxor (@x[$d1],@x[$a1],@x[$d1])",
1420 "&vpxor (@x[$d2],@x[$a2],@x[$d2])",
1421 "&vpxor (@x[$d3],@x[$a3],@x[$d3])",
1422 "&vprotd (@x[$d0],@x[$d0],8)",
1423 "&vprotd (@x[$d1],@x[$d1],8)",
1424 "&vprotd (@x[$d2],@x[$d2],8)",
1425 "&vprotd (@x[$d3],@x[$d3],8)",
1427 "&vpaddd (@x[$c0],@x[$c0],@x[$d0])",
1428 "&vpaddd (@x[$c1],@x[$c1],@x[$d1])",
1429 "&vpaddd (@x[$c2],@x[$c2],@x[$d2])",
1430 "&vpaddd (@x[$c3],@x[$c3],@x[$d3])",
1431 "&vpxor (@x[$b0],@x[$c0],@x[$b0])",
1432 "&vpxor (@x[$b1],@x[$c1],@x[$b1])",
1433 "&vpxor (@x[$b2],@x[$b2],@x[$c2])", # flip
1434 "&vpxor (@x[$b3],@x[$b3],@x[$c3])", # flip
1435 "&vprotd (@x[$b0],@x[$b0],7)",
1436 "&vprotd (@x[$b1],@x[$b1],7)",
1437 "&vprotd (@x[$b2],@x[$b2],7)",
1438 "&vprotd (@x[$b3],@x[$b3],7)"
1836 my @x=map("\"$_\"",@xx);
1861 "&vpaddd (@x[$a0],@x[$a0],@x[$b0])", # Q1
1862 "&vpxor (@x[$d0],@x[$a0],@x[$d0])",
1863 "&vpshufb (@x[$d0],@x[$d0],$t1)",
1864 "&vpaddd (@x[$a1],@x[$a1],@x[$b1])", # Q2
1865 "&vpxor (@x[$d1],@x[$a1],@x[$d1])",
1866 "&vpshufb (@x[$d1],@x[$d1],$t1)",
1868 "&vpaddd ($xc,$xc,@x[$d0])",
1869 "&vpxor (@x[$b0],$xc,@x[$b0])",
1870 "&vpslld ($t0,@x[$b0],12)",
1871 "&vpsrld (@x[$b0],@x[$b0],20)",
1872 "&vpor (@x[$b0],$t0,@x[$b0])",
1874 "&vpaddd ($xc_,$xc_,@x[$d1])",
1875 "&vpxor (@x[$b1],$xc_,@x[$b1])",
1876 "&vpslld ($t1,@x[$b1],12)",
1877 "&vpsrld (@x[$b1],@x[$b1],20)",
1878 "&vpor (@x[$b1],$t1,@x[$b1])",
1880 "&vpaddd (@x[$a0],@x[$a0],@x[$b0])",
1881 "&vpxor (@x[$d0],@x[$a0],@x[$d0])",
1882 "&vpshufb (@x[$d0],@x[$d0],$t0)",
1883 "&vpaddd (@x[$a1],@x[$a1],@x[$b1])",
1884 "&vpxor (@x[$d1],@x[$a1],@x[$d1])",
1885 "&vpshufb (@x[$d1],@x[$d1],$t0)",
1887 "&vpaddd ($xc,$xc,@x[$d0])",
1888 "&vpxor (@x[$b0],$xc,@x[$b0])",
1889 "&vpslld ($t1,@x[$b0],7)",
1890 "&vpsrld (@x[$b0],@x[$b0],25)",
1891 "&vpor (@x[$b0],$t1,@x[$b0])",
1893 "&vpaddd ($xc_,$xc_,@x[$d1])",
1894 "&vpxor (@x[$b1],$xc_,@x[$b1])",
1895 "&vpslld ($t0,@x[$b1],7)",
1896 "&vpsrld (@x[$b1],@x[$b1],25)",
1897 "&vpor (@x[$b1],$t0,@x[$b1])",
1904 "&vpaddd (@x[$a2],@x[$a2],@x[$b2])", # Q3
1905 "&vpxor (@x[$d2],@x[$a2],@x[$d2])",
1906 "&vpshufb (@x[$d2],@x[$d2],$t1)",
1907 "&vpaddd (@x[$a3],@x[$a3],@x[$b3])", # Q4
1908 "&vpxor (@x[$d3],@x[$a3],@x[$d3])",
1909 "&vpshufb (@x[$d3],@x[$d3],$t1)",
1911 "&vpaddd ($xc,$xc,@x[$d2])",
1912 "&vpxor (@x[$b2],$xc,@x[$b2])",
1913 "&vpslld ($t0,@x[$b2],12)",
1914 "&vpsrld (@x[$b2],@x[$b2],20)",
1915 "&vpor (@x[$b2],$t0,@x[$b2])",
1917 "&vpaddd ($xc_,$xc_,@x[$d3])",
1918 "&vpxor (@x[$b3],$xc_,@x[$b3])",
1919 "&vpslld ($t1,@x[$b3],12)",
1920 "&vpsrld (@x[$b3],@x[$b3],20)",
1921 "&vpor (@x[$b3],$t1,@x[$b3])",
1923 "&vpaddd (@x[$a2],@x[$a2],@x[$b2])",
1924 "&vpxor (@x[$d2],@x[$a2],@x[$d2])",
1925 "&vpshufb (@x[$d2],@x[$d2],$t0)",
1926 "&vpaddd (@x[$a3],@x[$a3],@x[$b3])",
1927 "&vpxor (@x[$d3],@x[$a3],@x[$d3])",
1928 "&vpshufb (@x[$d3],@x[$d3],$t0)",
1930 "&vpaddd ($xc,$xc,@x[$d2])",
1931 "&vpxor (@x[$b2],$xc,@x[$b2])",
1932 "&vpslld ($t1,@x[$b2],7)",
1933 "&vpsrld (@x[$b2],@x[$b2],25)",
1934 "&vpor (@x[$b2],$t1,@x[$b2])",
1936 "&vpaddd ($xc_,$xc_,@x[$d3])",
1937 "&vpxor (@x[$b3],$xc_,@x[$b3])",
1938 "&vpslld ($t0,@x[$b3],7)",
1939 "&vpsrld (@x[$b3],@x[$b3],25)",
1940 "&vpor (@x[$b3],$t0,@x[$b3])"
1974 # +0x00 SIMD equivalent of @x[8-12]
2050 vmovdqa $xt2,0x40(%rsp) # SIMD equivalent of "@x[10]"
2051 vmovdqa $xt3,0x60(%rsp) # SIMD equivalent of "@x[11]"
2584 vpxor 0x00($inp),%x#$a,$t0 # xor with input
2585 vpxor 0x10($inp),%x#$b,$t1
2586 vpxor 0x20($inp),%x#$c,$t2
2587 vpxor 0x30($inp),%x#$d,$t3
2668 vmovdqa %x#$a,0x00(%rsp)
2669 vmovdqa %x#$b,0x10(%rsp)
2670 vmovdqa %x#$c,0x20(%rsp)
2671 vmovdqa %x#$d,0x30(%rsp)
2794 vpxor 0x00($inp),%x#$a,$t0 # xor with input
2795 vpxor 0x10($inp),%x#$b,$t1
2796 vpxor 0x20($inp),%x#$c,$t2
2797 vpxor 0x30($inp),%x#$d,$t3
2836 vmovdqa %x#$a,0x00(%rsp)
2837 vmovdqa %x#$b,0x10(%rsp)
2838 vmovdqa %x#$c,0x20(%rsp)
2839 vmovdqa %x#$d,0x30(%rsp)
2902 my @x=map("\"$_\"",@xx);
2905 "&vpaddd (@x[$a0],@x[$a0],@x[$b0])", # Q1
2906 "&vpaddd (@x[$a1],@x[$a1],@x[$b1])", # Q2
2907 "&vpaddd (@x[$a2],@x[$a2],@x[$b2])", # Q3
2908 "&vpaddd (@x[$a3],@x[$a3],@x[$b3])", # Q4
2909 "&vpxord (@x[$d0],@x[$d0],@x[$a0])",
2910 "&vpxord (@x[$d1],@x[$d1],@x[$a1])",
2911 "&vpxord (@x[$d2],@x[$d2],@x[$a2])",
2912 "&vpxord (@x[$d3],@x[$d3],@x[$a3])",
2913 "&vprold (@x[$d0],@x[$d0],16)",
2914 "&vprold (@x[$d1],@x[$d1],16)",
2915 "&vprold (@x[$d2],@x[$d2],16)",
2916 "&vprold (@x[$d3],@x[$d3],16)",
2918 "&vpaddd (@x[$c0],@x[$c0],@x[$d0])",
2919 "&vpaddd (@x[$c1],@x[$c1],@x[$d1])",
2920 "&vpaddd (@x[$c2],@x[$c2],@x[$d2])",
2921 "&vpaddd (@x[$c3],@x[$c3],@x[$d3])",
2922 "&vpxord (@x[$b0],@x[$b0],@x[$c0])",
2923 "&vpxord (@x[$b1],@x[$b1],@x[$c1])",
2924 "&vpxord (@x[$b2],@x[$b2],@x[$c2])",
2925 "&vpxord (@x[$b3],@x[$b3],@x[$c3])",
2926 "&vprold (@x[$b0],@x[$b0],12)",
2927 "&vprold (@x[$b1],@x[$b1],12)",
2928 "&vprold (@x[$b2],@x[$b2],12)",
2929 "&vprold (@x[$b3],@x[$b3],12)",
2931 "&vpaddd (@x[$a0],@x[$a0],@x[$b0])",
2932 "&vpaddd (@x[$a1],@x[$a1],@x[$b1])",
2933 "&vpaddd (@x[$a2],@x[$a2],@x[$b2])",
2934 "&vpaddd (@x[$a3],@x[$a3],@x[$b3])",
2935 "&vpxord (@x[$d0],@x[$d0],@x[$a0])",
2936 "&vpxord (@x[$d1],@x[$d1],@x[$a1])",
2937 "&vpxord (@x[$d2],@x[$d2],@x[$a2])",
2938 "&vpxord (@x[$d3],@x[$d3],@x[$a3])",
2939 "&vprold (@x[$d0],@x[$d0],8)",
2940 "&vprold (@x[$d1],@x[$d1],8)",
2941 "&vprold (@x[$d2],@x[$d2],8)",
2942 "&vprold (@x[$d3],@x[$d3],8)",
2944 "&vpaddd (@x[$c0],@x[$c0],@x[$d0])",
2945 "&vpaddd (@x[$c1],@x[$c1],@x[$d1])",
2946 "&vpaddd (@x[$c2],@x[$c2],@x[$d2])",
2947 "&vpaddd (@x[$c3],@x[$c3],@x[$d3])",
2948 "&vpxord (@x[$b0],@x[$b0],@x[$c0])",
2949 "&vpxord (@x[$b1],@x[$b1],@x[$c1])",
2950 "&vpxord (@x[$b2],@x[$b2],@x[$c2])",
2951 "&vpxord (@x[$b3],@x[$b3],@x[$c3])",
2952 "&vprold (@x[$b0],@x[$b0],7)",
2953 "&vprold (@x[$b1],@x[$b1],7)",
2954 "&vprold (@x[$b2],@x[$b2],7)",
2955 "&vprold (@x[$b3],@x[$b3],7)"
4036 s/%x#%[yz]/%x/g; # "down-shift"