• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/rc4/asm/

Lines Matching refs:code

28 # Opteron... For reference, 1x in this case is RC4_CHAR C-code
35 # Intel P4 EM64T core was found to run the AMD64 code really slow...
38 # compose blended code, which would perform even within 30% marginal
52 # provided that loads are reordered even more aggressively! Both code
57 # If executed on Xeon, current RC4_CHAR code-path is 2.7x faster than
58 # RC4_INT code-path. While if executed on Opteron, it's only 25%
60 # is not implemented, then this final RC4_CHAR code-path should be
65 # Intel Core2 was observed to perform poorly on both code paths:-( It
70 # fit for Core2 and therefore the code was modified to skip cloop8 on
81 # The only code path that was not modified is P4-specific one. Non-P4
82 # Intel code path optimization is heavily based on submission by Maxim
85 # code path... Current performance in cycles per processed byte (less
98 # For reference, Intel code runs at 6.8 cpb rate on Opteron.
100 # for 32-bit code, meaning that it's possible to improve it,
124 $code=<<___;
152 $code.=<<___;
196 $code.=<<___ if ($i==7);
199 $code.=<<___;
211 $code.=<<___;
260 $code.=" add \$16,$XX[0]#b\n" if ($i==15);
261 $code.=" movdqu ($inp),%xmm2\n" if ($i==15);
262 $code.=" add $TX[0]#b,$YY#b\n" if ($i<=0);
263 $code.=" movl ($dat,$YY,4),$TY#d\n";
264 $code.=" pxor %xmm0,%xmm2\n" if ($i==0);
265 $code.=" psllq \$8,%xmm1\n" if ($i==0);
266 $code.=" pxor $xmm,$xmm\n" if ($i<=1);
267 $code.=" movl $TX[0]#d,($dat,$YY,4)\n";
268 $code.=" add $TY#b,$TX[0]#b\n";
269 $code.=" movl `4*($j+1)`($XX[1]),$TX[1]#d\n" if ($i<15);
270 $code.=" movz $TX[0]#b,$TX[0]#d\n";
271 $code.=" movl $TY#d,4*$j($XX[1])\n";
272 $code.=" pxor %xmm1,%xmm2\n" if ($i==0);
273 $code.=" lea ($dat,$XX[0],4),$XX[1]\n" if ($i==15);
274 $code.=" add $TX[1]#b,$YY#b\n" if ($i<15);
275 $code.=" pinsrw \$`($j>>1)&7`,($dat,$TX[0],4),$xmm\n";
276 $code.=" movdqu %xmm2,($out,$inp)\n" if ($i==0);
277 $code.=" lea 16($inp),$inp\n" if ($i==0);
278 $code.=" movl ($XX[1]),$TX[1]#d\n" if ($i==15);
281 $code.=<<___;
288 $code.=".Loop16_enter:\n" if ($i==1);
292 $code.=<<___;
341 $code.=<<___;
360 $code.=<<___;
378 $code.=<<___;
391 $code.=<<___;
432 $code.=<<___;
539 $code.=<<___;
672 $code =~ s/(%[a-z0-9]+)#([bwd])/reg_part($1,$2)/gem;
673 $code =~ s/\`([^\`]*)\`/eval $1/gem;
675 print $code;