Home | History | Annotate | Download | only in asm

Lines Matching refs:code

10 # SHA256 performance improvement over compiler generated code varies
17 # Performance is >75% better than 64-bit code generated by Sun C and
18 # over 2x than 32-bit code. X[16] resides on stack, but access to it
26 # It's not any faster than 64-bit code generated by Sun C 5.8. This is
27 # because 64-bit code generator has the advantage of using 64-bit
30 # code by 60%, not to mention that it doesn't suffer from severe decay
124 $code.=<<___;
140 { $code.=<<___;
146 $code.=<<___;
154 $code.="\tadd @X[$i/2],$h,$T1\n";
156 $code.="\tsrlx @X[$i/2],32,$T1\n\tadd $h,$T1,$T1\n";
165 $code.=<<___ if ($i==0);
175 $code.=<<___ if ($i<15);
187 $code.=<<___ if ($i==12);
191 $code.=<<___ if ($i==15);
218 $code.="\tadd $h,$T1,$T1\n";
221 $code.=<<___;
271 $code.="\tsrlx @X[(($i+1)/2)%8],32,$xi\n";
275 $code.=<<___;
289 $code.="\tsrlx @X[(($i+14)/2)%8],32,$xi\n";
291 $code.=<<___;
304 $code.=<<___;
318 $code.=<<___;
338 $code.=<<___;
384 $code.=<<___ if ($bits==64);
388 $code.=<<___;
396 $code.=<<___;
415 $code.=<<___;
458 $code.=<<___;
469 $code.=<<___ if ($SZ==8); # SHA512
473 $code.=<<___;
489 $code.=".L16_xx:\n";
491 $code.=<<___;
498 $code.=<<___ if ($SZ==4); # SHA256
525 $code.=<<___ if ($SZ==8); # SHA512
578 $code.=<<___;
592 $code =~ s/\`([^\`]*)\`/eval $1/gem;
593 print $code;