Lines Matching refs:acc
212 $acc="esi";
255 my ($v0,$v1) = ($acc,$key);
312 { my ($v0,$v1) = ($key,$acc);
370 &movz ($acc,&LB("eax")); # 0
371 &mov ("ecx",&DWP(0,$tbl,$acc,8)); # 0
377 &movz ($acc,&LB("ebx")); # 10
378 &xor ("ecx",&DWP(2,$tbl,$acc,8)); # 10
380 &movz ($acc,&HB("ebx")); # 11
381 &xor ("edx",&DWP(1,$tbl,$acc,8)); # 11
384 &movz ($acc,&HB("eax")); # 5
385 &xor ("ecx",&DWP(3,$tbl,$acc,8)); # 5
387 &movz ($acc,&HB("ebx")); # 15
388 &xor ("ecx",&DWP(1,$tbl,$acc,8)); # 15
391 &movz ($acc,&LB("eax")); # 4
392 &mov ("ecx",&DWP(0,$tbl,$acc,8)); # 4
394 &movz ($acc,&LB("ebx")); # 14
395 &xor ("ecx",&DWP(2,$tbl,$acc,8)); # 14
398 &movz ($acc,&HB("eax")); # 3
399 &xor ("ecx",&DWP(1,$tbl,$acc,8)); # 3
400 &movz ($acc,&HB("ebx")); # 9
401 &xor ("ecx",&DWP(3,$tbl,$acc,8)); # 9
404 &movz ($acc,&LB("eax")); # 2
405 &mov ("ecx",&DWP(2,$tbl,$acc,8)); # 2
408 &movz ($acc,&LB("ebx")); # 8
409 &xor ("ecx",&DWP(0,$tbl,$acc,8)); # 8
412 &movz ($acc,&HB("eax")); # 7
413 &xor ("ecx",&DWP(1,$tbl,$acc,8)); # 7
418 &movz ($acc,&HB("ebx")); # 13
419 &xor ("ecx",&DWP(3,$tbl,$acc,8)); # 13
444 my $out = $i==3?$s[0]:$acc;
479 if ($i==3) { &mov ($s[3],$acc); }
491 &mov ($acc,$tmp);
494 &sub ($acc,$tmp);
496 &and ($acc,0x1b1b1b1b);
498 &xor ($acc,$r2); # r2
501 &xor ($s[$i],$acc); # r0 ^ r2
503 &xor ($acc,$tmp);
505 &xor ($acc,$r2);
507 &xor ($s[$i],$acc); # ROTATE(r2^r0,24) ^ r2
519 &mov ($acc,&DWP(240,$key)); # load key->rounds
520 &lea ($acc,&DWP(-2,$acc,$acc));
521 &lea ($acc,&DWP(0,$key,$acc,8));
522 &mov ($__end,$acc); # end of key schedule
526 &mov ($acc,&DWP(32-128,$tbl));
528 &mov ($acc,&DWP(96-128,$tbl));
530 &mov ($acc,&DWP(160-128,$tbl));
532 &mov ($acc,&DWP(224-128,$tbl));
624 &movz ($acc,&LB("eax")); # 0
627 &movz ("ecx",&BP(-128,$tbl,$acc,1)); # 0
633 &movz ($acc,&BP(-128,$tbl,$key,1)); # 10
635 &shl ($acc,16); # 10
637 &or ("ecx",$acc); # 10
638 &movz ($acc,&BP(-128,$tbl,$key,1)); # 11
640 &shl ($acc,24); # 11
642 &or ("edx",$acc); # 11
644 &movz ($acc,&BP(-128,$tbl,$key,1)); # 5
646 &shl ($acc,8); # 5
647 &or ("ecx",$acc); # 5
648 &movz ($acc,&BP(-128,$tbl,$key,1)); # 15
650 &shl ($acc,24); # 15
651 &or ("ecx",$acc); # 15
653 &movz ($acc,&BP(-128,$tbl,$key,1)); # 4
661 &or ("ecx",$acc); # 14
663 &movz ($acc,&BP(-128,$tbl,$key,1)); # 3
665 &shl ($acc,24); # 3
666 &or ("ecx",$acc); # 3
667 &movz ($acc,&BP(-128,$tbl,$key,1)); # 9
669 &shl ($acc,8); # 9
671 &or ("ecx",$acc); # 9
673 &movz ($acc,&BP(-128,$tbl,$key,1)); # 8
681 &or ("ecx",$acc); # 2
685 &movz ($acc,&BP(-128,$tbl,$key,1)); # 7
687 &shl ($acc,24); # 7
690 &or ("ecx",$acc); # 7
692 &movz ($acc,&BP(-128,$tbl,$key,1)); # 13
694 &shl ($acc,8); # 13
696 &or ("ecx",$acc); # 13
711 &mov ($acc,&DWP(240,$key)); # load key->rounds
712 &lea ($acc,&DWP(-2,$acc,$acc));
713 &lea ($acc,&DWP(0,$key,$acc,8));
714 &mov ($__end,$acc); # end of key schedule
783 my $out = $i==3?$s[0]:$acc;
810 if ($i==3) { &mov ($s[3],$acc); }
817 my $out = $i==3?$s[0]:$acc;
850 if ($i==3) { &mov ($s[3],$acc); }
857 &mov ($s2="esi",$acc="ecx");
868 &mov ($acc,&DWP(240,$key)); # load key->rounds
871 &lea ($acc,&DWP(-2,$acc,$acc));
872 &lea ($acc,&DWP(0,$key,$acc,8));
873 &mov ($__end,$acc); # end of key schedule
894 &cmp ($acc,10);
896 &cmp ($acc,12);
953 &mov ($s2="ecx",$acc="esi");
1175 &mov ($acc,&wparam(0)); # load inp
1207 &movq ("mm0",&QWP(0,$acc));
1208 &movq ("mm4",&QWP(8,$acc));
1211 &mov ($acc,&wparam(1)); # load out
1212 &movq (&QWP(0,$acc),"mm0"); # write output data
1213 &movq (&QWP(8,$acc),"mm4");
1219 &mov ($s0,&DWP(0,$acc)); # load input data
1220 &mov ($s1,&DWP(4,$acc));
1221 &mov ($s2,&DWP(8,$acc));
1222 &mov ($s3,&DWP(12,$acc));
1225 &mov ($acc,&wparam(1)); # load out
1226 &mov (&DWP(0,$acc),$s0); # write output data
1227 &mov (&DWP(4,$acc),$s1);
1228 &mov (&DWP(8,$acc),$s2);
1229 &mov (&DWP(12,$acc),$s3);
1243 my $out = $i==3?$s[0]:$acc;
1260 if ($i==3) { $tmp=$s[2]; &mov ($s[1],$acc); }
1289 &mov ($acc,$tmp);
1292 &sub ($acc,$tmp);
1294 &and ($acc,0x1b1b1b1b);
1295 &xor ($tp2,$acc);
1299 &mov ($acc,$tmp);
1302 &sub ($acc,$tmp);
1304 &and ($acc,0x1b1b1b1b);
1306 &xor ($tp4,$acc);
1310 &mov ($acc,$tmp);
1313 &sub ($acc,$tmp);
1315 &and ($acc,0x1b1b1b1b);
1318 &xor ($tp8,$acc);
1348 &mov ($acc,&DWP(240,$key)); # load key->rounds
1350 &lea ($acc,&DWP(-2,$acc,$acc));
1351 &lea ($acc,&DWP(0,$key,$acc,8));
1352 &mov ($__end,$acc); # end of key schedule
1356 &mov ($acc,&DWP(32-128,$tbl));
1358 &mov ($acc,&DWP(96-128,$tbl));
1360 &mov ($acc,&DWP(160-128,$tbl));
1362 &mov ($acc,&DWP(224-128,$tbl));
1411 &movz ($acc,&LB("eax")); # 0
1414 &movz ("ecx",&BP(-128,$tbl,$acc,1)); # 0
1420 &movz ($acc,&BP(-128,$tbl,$key,1)); # 10
1422 &shl ($acc,16); # 10
1424 &or ("ecx",$acc); # 10
1425 &movz ($acc,&BP(-128,$tbl,$key,1)); # 11
1427 &shl ($acc,24); # 11
1429 &or ("edx",$acc); # 11
1431 &movz ($acc,&BP(-128,$tbl,$key,1)); # 7
1433 &shl ($acc,24); # 7
1434 &or ("ecx",$acc); # 7
1435 &movz ($acc,&BP(-128,$tbl,$key,1)); # 13
1437 &shl ($acc,8); # 13
1439 &or ("ecx",$acc); # 13
1441 &movz ($acc,&BP(-128,$tbl,$key,1)); # 6
1443 &shl ($acc,16); # 6
1448 &or ("ecx",$acc); # 12
1450 &movz ($acc,&BP(-128,$tbl,$key,1)); # 4
1452 &or ("edx",$acc); # 4
1453 &movz ($acc,&BP(-128,$tbl,$key,1)); # 14
1455 &shl ($acc,16); # 14
1457 &or ("edx",$acc); # 14
1459 &movz ($acc,&BP(-128,$tbl,$key,1)); # 5
1462 &shl ($acc,8); # 5
1468 &or ("edx",$acc); # 15
1472 &movz ($acc,&BP(-128,$tbl,$key,1)); # 9
1474 &shl ($acc,8); # 9
1477 &or ("ecx",$acc); # 9
1478 &movz ($acc,&BP(-128,$tbl,$key,1)); # 2
1480 &shl ($acc,16); # 2
1482 &or ("edx",$acc); # 2
1498 &mov ($acc,&DWP(240,$key)); # load key->rounds
1499 &lea ($acc,&DWP(-2,$acc,$acc));
1500 &lea ($acc,&DWP(0,$key,$acc,8));
1501 &mov ($__end,$acc); # end of key schedule
1602 my $out = $i==3?$s[0]:$acc;
1617 if ($i==3) { $tmp=$s[2]; &mov ($s[1],$acc); }
1635 my $out = $i==3?$s[0]:$acc;
1639 &mov ($acc,&DWP(32-128,$td));
1641 &mov ($acc,&DWP(96-128,$td));
1643 &mov ($acc,&DWP(160-128,$td));
1645 &mov ($acc,&DWP(224-128,$td));
1658 if ($i==3) { $tmp=$s[2]; &mov ($s[1],$acc); }
1686 &mov ($acc,&DWP(240,$key)); # load key->rounds
1689 &lea ($acc,&DWP(-2,$acc,$acc));
1690 &lea ($acc,&DWP(0,$key,$acc,8));
1691 &mov ($__end,$acc); # end of key schedule
1707 &cmp ($acc,10);
1709 &cmp ($acc,12);
1966 &mov ($acc,&wparam(0)); # load inp
1998 &movq ("mm0",&QWP(0,$acc));
1999 &movq ("mm4",&QWP(8,$acc));
2002 &mov ($acc,&wparam(1)); # load out
2003 &movq (&QWP(0,$acc),"mm0"); # write output data
2004 &movq (&QWP(8,$acc),"mm4");
2010 &mov ($s0,&DWP(0,$acc)); # load input data
2011 &mov ($s1,&DWP(4,$acc));
2012 &mov ($s2,&DWP(8,$acc));
2013 &mov ($s3,&DWP(12,$acc));
2016 &mov ($acc,&wparam(1)); # load out
2017 &mov (&DWP(0,$acc),$s0); # write output data
2018 &mov (&DWP(4,$acc),$s1);
2019 &mov (&DWP(8,$acc),$s2);
2020 &mov (&DWP(12,$acc),$s3);
2077 &lea ($acc,&DWP(-80-244,"esp"));
2078 &and ($acc,-64);
2083 &mov ($s3,$acc);
2091 &sub ($acc,$s3);
2097 &sub ($acc,$s3);
2101 &exch ("esp",$acc); # allocate stack frame
2104 &mov ($_esp,$acc); # save %esp
2110 &mov ($acc,&DWP(16,$s3)); # load ivp
2117 &mov ($_ivp,$acc); # save copy of ivp
2141 &mov ($acc,&DWP(96,$tbl));
2147 &mov ($acc,$_inp);
2161 &xor ($s0,&DWP(0,$acc)); # xor input data
2162 &xor ($s1,&DWP(4,$acc));
2163 &xor ($s2,&DWP(8,$acc));
2164 &xor ($s3,&DWP(12,$acc));
2169 &mov ($acc,$_inp); # load inp
2177 &lea ($acc,&DWP(16,$acc)); # advance inp
2179 &mov ($_inp,$acc); # save inp
2185 &mov ($acc,$_ivp); # load ivp
2188 &mov (&DWP(0,$acc),$s0); # save ivec
2189 &mov (&DWP(4,$acc),$s1);
2190 &mov (&DWP(8,$acc),$s2);
2191 &mov (&DWP(12,$acc),$s3);
2211 &cmp ($acc,$_out);
2218 &mov ($s0,&DWP(0,$acc)); # read input
2219 &mov ($s1,&DWP(4,$acc));
2220 &mov ($s2,&DWP(8,$acc));
2221 &mov ($s3,&DWP(12,$acc));
2227 &mov ($acc,$_len); # load len
2234 &mov ($acc,$_inp); # load inp
2242 &mov ($_tmp,$acc); # save ivp
2243 &lea ($acc,&DWP(16,$acc)); # advance inp
2244 &mov ($_inp,$acc); # save inp
2251 &mov ($acc,$_ivp); # load user ivp
2256 &mov (&DWP(0,$acc),$s0); # copy back to user
2257 &mov (&DWP(4,$acc),$s1);
2258 &mov (&DWP(8,$acc),$s2);
2259 &mov (&DWP(12,$acc),$s3);
2264 &mov ($s0,&DWP(0,$acc)); # read input
2265 &mov ($s1,&DWP(4,$acc));
2266 &mov ($s2,&DWP(8,$acc));
2267 &mov ($s3,&DWP(12,$acc));
2279 &mov ($acc,$_out); # load out
2285 &mov (&DWP(0,$acc),$s0); # write output
2286 &mov (&DWP(4,$acc),$s1);
2287 &mov (&DWP(8,$acc),$s2);
2288 &mov (&DWP(12,$acc),$s3);
2290 &lea ($acc,&DWP(16,$acc)); # advance out
2291 &mov ($_out,$acc); # save out
2293 &lea ($acc,$ivec);
2294 &mov ($s0,&DWP(0,$acc)); # read temp
2295 &mov ($s1,&DWP(4,$acc));
2296 &mov ($s2,&DWP(8,$acc));
2297 &mov ($s3,&DWP(12,$acc));
2304 &mov ($acc,$_inp); # load inp
2306 &lea ($acc,&DWP(16,$acc)); # advance inp
2307 &mov ($_inp,$acc); # save inp
2334 &lea ($acc,&DWP(-80,"esp"));
2335 &and ($acc,-64);
2339 &sub ($s1,$acc);
2342 &sub ($acc,$s1);
2345 &lea ($s1,&DWP(768,$acc));
2352 &exch ("esp",$acc);
2355 &mov ($_esp,$acc); # save %esp
2362 &mov ($acc,&DWP(16,$s3)); # load ivp
2369 &mov ($_ivp,$acc); # save copy of ivp
2371 &mov ($key,$acc);
2372 &mov ($acc,$s0);
2390 &pxor ("mm0",&QWP(0,$acc)); # xor input data
2391 &pxor ("mm4",&QWP(8,$acc));
2396 &mov ($acc,$_inp); # load inp
2403 &lea ($acc,&DWP(16,$acc)); # advance inp
2404 &mov ($_inp,$acc); # save inp
2413 &mov ($acc,$_ivp); # load ivp
2414 &movq (&QWP(0,$acc),"mm0"); # save ivec
2415 &movq (&QWP(8,$acc),"mm4");
2430 &xor ($s0,&DWP(0,$acc)); # xor input data
2431 &xor ($s1,&DWP(4,$acc));
2432 &xor ($s2,&DWP(8,$acc));
2433 &xor ($s3,&DWP(12,$acc));
2438 &mov ($acc,$_inp); # load inp
2447 &lea ($acc,&DWP(16,$acc)); # advance inp
2448 &mov ($_inp,$acc); # save inp
2457 &mov ($acc,$_ivp); # load ivp
2460 &mov (&DWP(0,$acc),$s0); # save ivec
2461 &mov (&DWP(4,$acc),$s1);
2462 &mov (&DWP(8,$acc),$s2);
2463 &mov (&DWP(12,$acc),$s3);
2475 &cmp ($key,$acc eq "esi"? $acc:""); # compare with inp
2489 &mov ($acc,$s3); # output as input
2502 &movq ("mm0",&QWP(0,$acc)); # read input
2503 &movq ("mm4",&QWP(8,$acc));
2508 &mov ($acc,$_inp); # load inp
2514 &movq ("mm1",&QWP(0,$acc)); # re-read input
2515 &movq ("mm5",&QWP(8,$acc));
2531 &lea ($acc,&DWP(16,$acc)); # advance inp
2532 &mov ($_inp,$acc); # save inp
2558 &mov ($s0,&DWP(0,$acc)); # read input
2559 &mov ($s1,&DWP(4,$acc));
2560 &mov ($s2,&DWP(8,$acc));
2561 &mov ($s3,&DWP(12,$acc));
2573 &mov ($acc,$_len); # load len
2579 &sub ($acc,16);
2582 &mov ($_len,$acc); # save len
2583 &mov ($acc,$_out); # load out
2585 &mov (&DWP(0,$acc),$s0); # write output
2586 &mov (&DWP(4,$acc),$s1);
2587 &mov (&DWP(8,$acc),$s2);
2588 &mov (&DWP(12,$acc),$s3);
2590 &lea ($acc,&DWP(16,$acc)); # advance out
2591 &mov ($_out,$acc); # save out
2593 &lea ($acc,$ivec);
2594 &mov ($s0,&DWP(0,$acc)); # read temp
2595 &mov ($s1,&DWP(4,$acc));
2596 &mov ($s2,&DWP(8,$acc));
2597 &mov ($s3,&DWP(12,$acc));
2604 &mov ($acc,$_inp); # load inp
2605 &lea ($acc,&DWP(16,$acc)); # advance inp
2606 &mov ($_inp,$acc); # save inp
2614 &lea ($acc,$ivec);
2615 &mov (&DWP(0,$acc),$s0); # save output to temp
2616 &mov (&DWP(4,$acc),$s1);
2617 &mov (&DWP(8,$acc),$s2);
2618 &mov (&DWP(12,$acc),$s3);
2620 &mov ($acc,$_inp);
2621 &mov ($s0,&DWP(0,$acc)); # re-read input
2622 &mov ($s1,&DWP(4,$acc));
2623 &mov ($s2,&DWP(8,$acc));
2624 &mov ($s3,&DWP(12,$acc));
2887 &mov ($acc,$tmp);
2889 &sub ($acc,$tmp);
2891 &and ($acc,0x1b1b1b1b);
2892 &xor ($tp2,$acc);
2897 &mov ($acc,$tmp);
2899 &sub ($acc,$tmp);
2901 &and ($acc,0x1b1b1b1b);
2903 &xor ($tp4,$acc);
2908 &mov ($acc,$tmp);
2911 &sub ($acc,$tmp);
2913 &and ($acc,0x1b1b1b1b);
2915 &xor ($tp8,$acc);
2977 &mov ($acc,&DWP(240,$key)); # pull number of rounds
2978 &lea ($acc,&DWP(-2,$acc,$acc));
2979 &lea ($acc,&DWP(0,$key,$acc,8));
2980 &mov (&wparam(2),$acc);