• Home
  • Raw
  • Download

Lines Matching refs:DWP

59 $_num=&DWP(4*0,"esp");			# stack top layout
60 $_rp=&DWP(4*1,"esp");
61 $_ap=&DWP(4*2,"esp");
62 $_bp=&DWP(4*3,"esp");
63 $_np=&DWP(4*4,"esp");
64 $_n0=&DWP(4*5,"esp"); $_n0q=&QWP(4*5,"esp");
65 $_sp=&DWP(4*6,"esp");
66 $_bpend=&DWP(4*7,"esp");
78 &lea ("ebp",&DWP(-$frame,"esp","edi",4)); # future alloca($frame+4*(num+2))
109 &lea ("esp",&DWP(0,"ebp","eax"));
110 &mov ("eax",&DWP(0,"esp"));
116 &lea ("esp",&DWP(-4096,"esp"));
117 &mov ("eax",&DWP(0,"esp"));
123 &mov ("eax",&DWP(0*4,"esi"));# BN_ULONG *rp
124 &mov ("ebx",&DWP(1*4,"esi"));# const BN_ULONG *ap
125 &mov ("ecx",&DWP(2*4,"esi"));# const BN_ULONG *bp
126 &mov ("ebp",&DWP(3*4,"esi"));# const BN_ULONG *np
127 &mov ("esi",&DWP(4*4,"esi"));# const BN_ULONG *n0
130 &mov ("esi",&DWP(0,"esi")); # pull n0[0]
136 &lea ($num,&DWP(-3,"edi")); # num=num-1 to assist modulo-scheduling
151 &bt (&DWP(0,"eax"),26);
164 &movd ($mul0,&DWP(0,$bp)); # bp[0]
165 &movd ($mul1,&DWP(0,$ap)); # ap[0]
166 &movd ($car1,&DWP(0,$np)); # np[0]
178 &movd ($acc1,&DWP(4,$np)); # np[1]
179 &movd ($acc0,&DWP(4,$ap)); # ap[1]
193 &movd ($acc1,&DWP(4,$np,$j,4)); # np[j+1]
195 &movd ($acc0,&DWP(4,$ap,$j,4)); # ap[j+1]
197 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[j-1]=
200 &lea ($j,&DWP(1,$j));
212 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[num-2]=
224 &movd ($mul0,&DWP(0,$bp,$i,4)); # bp[i]
225 &movd ($mul1,&DWP(0,$ap)); # ap[0]
226 &movd ($temp,&DWP($frame,"esp")); # tp[0]
227 &movd ($car1,&DWP(0,$np)); # np[0]
240 &movd ($temp,&DWP($frame+4,"esp")); # tp[1]
241 &movd ($acc1,&DWP(4,$np)); # np[1]
242 &movd ($acc0,&DWP(4,$ap)); # ap[1]
257 &movd ($temp,&DWP($frame+4,"esp",$j,4));# tp[j+1]
259 &movd ($acc1,&DWP(4,$np,$j,4)); # np[j+1]
261 &movd ($acc0,&DWP(4,$ap,$j,4)); # ap[j+1]
263 &movd (&DWP($frame-4,"esp",$j,4),$car1);# tp[j-1]=
268 &lea ($j,&DWP(1,$j)); # j++
280 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[num-2]=
284 &movd ($temp,&DWP($frame+4,"esp",$num,4)); # += tp[num]
289 &lea ($i,&DWP(1,$i)); # i++
315 &lea ($carry,&DWP(1,$num));
321 &lea ("eax",&DWP(4,$word,$num,4)); # &bp[num]
323 &mov ($word,&DWP(0,$word)); # bp[0]
326 &mov ("eax",&DWP(0,$inp));
333 &lea ($j,&DWP(1,$j));
335 &mov ("eax",&DWP(0,$inp,$j,4)); # ap[j+1]
337 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j]=
346 &imul ($word,&DWP($frame,"esp")); # n0*tp[0]
348 &mov (&DWP($frame,"esp",$num,4),"eax"); # tp[num-1]=
350 &mov (&DWP($frame+4,"esp",$num,4),"edx"); # tp[num]=
351 &mov (&DWP($frame+8,"esp",$num,4),$j); # tp[num+1]=
353 &mov ("eax",&DWP(0,$inp)); # np[0]
355 &add ("eax",&DWP($frame,"esp")); # +=tp[0]
356 &mov ("eax",&DWP(4,$inp)); # np[1]
365 &add ($carry,&DWP($frame,"esp",$j,4)); # +=tp[j]
366 &lea ($j,&DWP(1,$j));
369 &mov ("eax",&DWP(0,$inp,$j,4)); # ap[j+1]
372 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j]=
377 &add ("eax",&DWP($frame,"esp",$num,4)); # +=tp[num-1]
383 &imul ($word,&DWP($frame,"esp")); # n0*tp[0]
386 &add ("edx",&DWP($frame+4,"esp",$num,4)); # carry+=tp[num]
387 &mov (&DWP($frame,"esp",$num,4),$carry); # tp[num-1]=
389 &mov ("eax",&DWP(0,$inp)); # np[0]
390 &mov (&DWP($frame+4,"esp",$num,4),"edx"); # tp[num]=
391 &mov (&DWP($frame+8,"esp",$num,4),$j); # tp[num+1]=
394 &add ("eax",&DWP($frame,"esp")); # +=tp[0]
395 &mov ("eax",&DWP(4,$inp)); # np[1]
402 &add ($carry,&DWP($frame,"esp",$j,4)); # +=tp[j]
403 &lea ($j,&DWP(1,$j));
406 &mov ("eax",&DWP(0,$inp,$j,4)); # np[j+1]
409 &mov (&DWP($frame-8,"esp",$j,4),$carry); # tp[j-1]=
414 &add ($carry,&DWP($frame,"esp",$num,4)); # +=tp[num-1]
418 &mov (&DWP($frame-4,"esp",$num,4),$carry); # tp[num-2]=
422 &add ("edx",&DWP($frame+4,"esp",$num,4)); # carry+=tp[num]
423 &adc ("eax",&DWP($frame+8,"esp",$num,4)); # +=tp[num+1]
424 &lea ($j,&DWP(4,$j));
425 &mov (&DWP($frame,"esp",$num,4),"edx"); # tp[num-1]=
427 &mov (&DWP($frame+4,"esp",$num,4),"eax"); # tp[num]=
430 &mov ($word,&DWP(0,$j)); # bp[i+1]
435 &mov ("eax",&DWP(0,$inp));
445 &mov (&DWP($frame,"esp"),"eax"); # tp[0]=
451 &mov ("eax",&DWP(0,$inp,$j,4)); # ap[j]
455 &lea ($j,&DWP(1,$j));
457 &lea ($carry,&DWP(0,$sbit,"eax",2));
461 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j]=
464 &mov ("eax",&DWP(0,$inp,$j,4)); # ap[num-1]
471 &lea ($carry,&DWP(0,$sbit,"eax",2));
472 &imul ($word,&DWP($frame,"esp")); # n0*tp[0]
474 &mov (&DWP($frame,"esp",$j,4),$carry); # tp[num-1]=
476 &lea ($carry,&DWP(0,"eax","edx",2));
477 &mov ("eax",&DWP(0,$inp)); # np[0]
479 &mov (&DWP($frame+4,"esp",$j,4),$carry); # tp[num]=
480 &mov (&DWP($frame+8,"esp",$j,4),"edx"); # tp[num+1]=
483 &add ("eax",&DWP($frame,"esp")); # +=tp[0]
486 &mov ("eax",&DWP(4,$inp)); # np[1]
492 &add ($carry,&DWP($frame,"esp",$j,4)); # +=tp[j]
495 &mov ("eax",&DWP(4,$inp,$j,4)); # np[j+1]
497 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j-1]=
501 &add ($carry,&DWP($frame+4,"esp",$j,4)); # +=tp[j+1]
502 &lea ($j,&DWP(2,$j));
505 &mov ("eax",&DWP(0,$inp,$j,4)); # np[j+2]
508 &mov (&DWP($frame-8,"esp",$j,4),$carry); # tp[j]=
513 &add ($carry,&DWP($frame,"esp",$num,4)); # +=tp[num-1]
517 &mov (&DWP($frame-4,"esp",$num,4),$carry); # tp[num-2]=
522 &add ("edx",&DWP($frame+4,"esp",$num,4)); # carry+=tp[num]
523 &adc ("eax",&DWP($frame+8,"esp",$num,4)); # +=tp[num+1]
524 &mov (&DWP($frame,"esp",$num,4),"edx"); # tp[num-1]=
526 &mov (&DWP($frame+4,"esp",$num,4),"eax"); # tp[num]=
529 &mov ($word,&DWP(4,$inp,$j,4)); # ap[i]
530 &lea ($j,&DWP(1,$j));
534 &add ("eax",&DWP($frame,"esp",$j,4)); # +=tp[i]
536 &mov (&DWP($frame,"esp",$j,4),"eax"); # tp[i]=
539 &lea ($j,&DWP(1,$j));
546 &mov ("eax",&DWP(0,$inp,$j,4)); # ap[j]
550 &lea ($carry,&DWP(0,"eax","eax"));
553 &add ($carry,&DWP($frame,"esp",$j,4)); # +=tp[j]
554 &lea ($j,&DWP(1,$j));
559 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j]=
571 &imul ($word,&DWP($frame,"esp")); # n0*tp[0]
573 &add ("edx",&DWP($frame,"esp",$j,4)); # +=tp[num]
574 &mov ("eax",&DWP(0,$inp)); # np[0]
576 &mov (&DWP($frame,"esp",$j,4),"edx"); # tp[num]=
577 &mov (&DWP($frame+4,"esp",$j,4),$carry); # tp[num+1]=
580 &add ("eax",&DWP($frame,"esp")); # +=tp[0]
581 &lea ($num,&DWP(-1,$j));
584 &mov ("eax",&DWP(4,$inp)); # np[1]
592 &lea ($tp,&DWP($frame,"esp")); # [$ap and $bp are zapped]
594 &mov ("eax",&DWP(0,$tp)); # tp[0]
599 &sbb ("eax",&DWP(0,$np,$i,4));
600 &mov (&DWP(0,$rp,$i,4),"eax"); # rp[i]=tp[i]-np[i]
602 &mov ("eax",&DWP(4,$tp,$i,4)); # tp[i+1]
603 &lea ($i,&DWP(1,$i)); # i++
612 &mov ($tp,&DWP($frame,"esp",$num,4));
613 &mov ($np,&DWP(0,$rp,$num,4));
614 &mov (&DWP($frame,"esp",$num,4),$j); # zap temporary vector
618 &mov (&DWP(0,$rp,$num,4),$np);