• Home
  • Raw
  • Download

Lines Matching refs:DWP

116 $Aoff=&DWP(4,"esp");
117 $Boff=&DWP(8,"esp");
118 $Coff=&DWP(12,"esp");
119 $Doff=&DWP(16,"esp");
120 $Eoff=&DWP(20,"esp");
121 $Foff=&DWP(24,"esp");
122 $Goff=&DWP(28,"esp");
123 $Hoff=&DWP(32,"esp");
124 $Xoff=&DWP(36,"esp");
129 &mov ("esi",&DWP(4*(9+15+16-14),"esp"));
139 &add ($T,&DWP(4*(9+15+16),"esp")); # T += X[-16]
141 &add ($T,&DWP(4*(9+15+16-9),"esp")); # T += X[-7]
159 &mov ($T,&DWP(4*(9+15),"esp")) if (!$in_16_63);
160 &mov (&DWP(4*(9+15),"esp"),$T) if ($in_16_63); # save X[0]
176 &lea ("esp",&DWP(-4,"esp"));
178 &mov ("esi",&DWP(0,$K256));
185 &mov (&DWP(0,"esp"),$A); # (b^c) in next round
187 &and ($A,&DWP(4,"esp")); # a &= (b^c)
190 &mov ("ecx",&DWP(4*(9+15+16-1),"esp")) if ($in_16_63); # preload T
206 &lea ($K256,&DWP(&label("K256")."-".&label("pic_point"),$K256));
213 &mov (&DWP(0,"esp"),"esi"); # ctx
214 &mov (&DWP(4,"esp"),"edi"); # inp
215 &mov (&DWP(8,"esp"),"eax"); # inp+num*128
216 &mov (&DWP(12,"esp"),"ebx"); # saved sp
219 &mov ("ecx",&DWP(0,"edx"));
220 &mov ("ebx",&DWP(4,"edx"));
223 &mov ("edx",&DWP(8,"edx")) if ($xmm);
254 &mov ("eax",&DWP($i*16+0,"edi"));
255 &mov ("ebx",&DWP($i*16+4,"edi"));
256 &mov ("ecx",&DWP($i*16+8,"edi"));
258 &mov ("edx",&DWP($i*16+12,"edi"));
268 &lea ("esp",&DWP(-4*9,"esp"));# place for A,B,C,D,E,F,G,H
269 &mov (&DWP(4*(9+16)+4,"esp"),"edi");
272 &mov ($A,&DWP(0,"esi"));
273 &mov ("ebx",&DWP(4,"esi"));
274 &mov ("ecx",&DWP(8,"esi"));
275 &mov ("edi",&DWP(12,"esi"));
281 &mov (&DWP(0,"esp"),"ebx"); # magic
282 &mov ($E,&DWP(16,"esi"));
283 &mov ("ebx",&DWP(20,"esi"));
284 &mov ("ecx",&DWP(24,"esi"));
285 &mov ("edi",&DWP(28,"esi"));
298 &mov ("ecx",&DWP(4*(9+15+16-1),"esp")); # preloaded in BODY_00_15(1)
308 &mov ("esi",&DWP(4*(9+16+64)+0,"esp"));#ctx
313 &add ($A,&DWP(0,"esi"));
314 &add ("ebx",&DWP(4,"esi"));
315 &add ("edi",&DWP(8,"esi"));
316 &add ("ecx",&DWP(12,"esi"));
317 &mov (&DWP(0,"esi"),$A);
318 &mov (&DWP(4,"esi"),"ebx");
319 &mov (&DWP(8,"esi"),"edi");
320 &mov (&DWP(12,"esi"),"ecx");
325 &mov ("edi",&DWP(4*(9+16+64)+4,"esp"));#inp
326 &add ($E,&DWP(16,"esi"));
327 &add ("eax",&DWP(20,"esi"));
328 &add ("ebx",&DWP(24,"esi"));
329 &add ("ecx",&DWP(28,"esi"));
330 &mov (&DWP(16,"esi"),$E);
331 &mov (&DWP(20,"esi"),"eax");
332 &mov (&DWP(24,"esi"),"ebx");
333 &mov (&DWP(28,"esi"),"ecx");
335 &lea ("esp",&DWP(4*(9+16+64),"esp"));# destroy frame
338 &cmp ("edi",&DWP(8,"esp")); # are we done yet?
342 &mov ("esp",&DWP(12,"esp")); # restore sp
348 &mov ("esp",&DWP(12,"esp")); # restore sp
374 sub off { &DWP(4*(((shift)-$i)&7),"esp"); }
380 &lea ("esp",&DWP(-96,"esp"));
382 &mov ($AH[0],&DWP(0,"esi"));
383 &mov ($AH[1],&DWP(4,"esi"));
384 &mov ("ecx",&DWP(8,"esi"));
385 &mov ("ebx",&DWP(12,"esi"));
387 &mov (&DWP(4,"esp"),$AH[1]);
389 &mov (&DWP(8,"esp"),"ecx");
390 &mov (&DWP(12,"esp"),"ebx");
391 &mov ($E,&DWP(16,"esi"));
392 &mov ("ebx",&DWP(20,"esi"));
393 &mov ("ecx",&DWP(24,"esi"));
394 &mov ("esi",&DWP(28,"esi"));
396 &mov (&DWP(20,"esp"),"ebx");
397 &mov (&DWP(24,"esp"),"ecx");
398 &mov (&DWP(28,"esp"),"esi");
404 &mov ("ebx",&DWP(12*$i+0,"edi"));
405 &mov ("ecx",&DWP(12*$i+4,"edi"));
407 &mov ("esi",&DWP(12*$i+8,"edi"));
409 &mov (&DWP(32+12*$i+0,"esp"),"ebx");
411 &mov (&DWP(32+12*$i+4,"esp"),"ecx");
412 &mov (&DWP(32+12*$i+8,"esp"),"esi");
414 &mov ("ebx",&DWP($i*12,"edi"));
417 &mov (&DWP(96+4,"esp"),"edi");
418 &mov (&DWP(32+12*$i,"esp"),"ebx");
436 &add ($T,&DWP(32+4*($i&15),"esp")); # T += X[-16]
438 &add ($T,&DWP(32+4*(($i+9)&15),"esp")); # T += X[-7]
450 &mov ($T,&DWP(32+4*($i&15),"esp")) if ($i<16); # X[i]
451 &mov (&DWP(32+4*($i&15),"esp"),$T) if ($i>=16 && $i<62); # save X[0]
471 &lea ($E,&DWP(@K256[$i],$T,$E)); # T += Sigma1(1)+K[i]
474 &mov ($t2,&DWP(32+4*(($i+2)&15),"esp")) if ($i>=15 && $i<63);
480 &mov ($t1,&DWP(32+4*(($i+15)&15),"esp")) if ($i>=15 && $i<63);
485 &mov ("esi",&DWP(96,"esp")); #ctx
489 &mov ("ecx",&DWP(12,"esp"));
490 &add ($AH[0],&DWP(0,"esi"));
491 &add ($AH[1],&DWP(4,"esi"));
492 &add ("edi",&DWP(8,"esi"));
493 &add ("ecx",&DWP(12,"esi"));
494 &mov (&DWP(0,"esi"),$AH[0]);
495 &mov (&DWP(4,"esi"),$AH[1]);
496 &mov (&DWP(8,"esi"),"edi");
497 &mov (&DWP(12,"esi"),"ecx");
499 &mov (&DWP(4,"esp"),$AH[1]);
501 &mov (&DWP(8,"esp"),"edi");
502 &mov (&DWP(12,"esp"),"ecx");
504 &mov ("edi",&DWP(20,"esp"));
505 &mov ("ebx",&DWP(24,"esp"));
506 &mov ("ecx",&DWP(28,"esp"));
507 &add ($E,&DWP(16,"esi"));
508 &add ("edi",&DWP(20,"esi"));
509 &add ("ebx",&DWP(24,"esi"));
510 &add ("ecx",&DWP(28,"esi"));
511 &mov (&DWP(16,"esi"),$E);
512 &mov (&DWP(20,"esi"),"edi");
513 &mov (&DWP(24,"esi"),"ebx");
514 &mov (&DWP(28,"esi"),"ecx");
516 &mov (&DWP(20,"esp"),"edi");
517 &mov ("edi",&DWP(96+4,"esp")); # inp
518 &mov (&DWP(24,"esp"),"ebx");
519 &mov (&DWP(28,"esp"),"ecx");
521 &cmp ("edi",&DWP(96+8,"esp")); # are we done yet?
524 &mov ("esp",&DWP(96+12,"esp")); # restore sp
549 &lea ($K256,&DWP(0x80,$K256));
582 &lea ($inp,&DWP(0x40,$inp));
662 &mov ("esp",&DWP(32+12,"esp"));
673 &lea ("esp",&DWP(-96,"esp"));
675 &mov ($AH[0],&DWP(0,"esi"));
676 &mov ($AH[1],&DWP(4,"esi"));
677 &mov ("ecx",&DWP(8,"esi"));
678 &mov ("edi",&DWP(12,"esi"));
680 &mov (&DWP(4,"esp"),$AH[1]);
682 &mov (&DWP(8,"esp"),"ecx");
683 &mov (&DWP(12,"esp"),"edi");
684 &mov ($E,&DWP(16,"esi"));
685 &mov ("edi",&DWP(20,"esi"));
686 &mov ("ecx",&DWP(24,"esi"));
687 &mov ("esi",&DWP(28,"esi"));
689 &mov (&DWP(20,"esp"),"edi");
690 &mov ("edi",&DWP(96+4,"esp")); # inp
691 &mov (&DWP(24,"esp"),"ecx");
692 &mov (&DWP(28,"esp"),"esi");
704 &mov (&DWP(96+4,"esp"),"edi");
931 &cmp (&DWP(16*$j,$K256),0x00010203);
938 &mov ("esi",&DWP(96,"esp")); #ctx
942 &mov ("ecx",&DWP(12,"esp"));
943 &add ($AH[0],&DWP(0,"esi"));
944 &add ($AH[1],&DWP(4,"esi"));
945 &add ("edi",&DWP(8,"esi"));
946 &add ("ecx",&DWP(12,"esi"));
947 &mov (&DWP(0,"esi"),$AH[0]);
948 &mov (&DWP(4,"esi"),$AH[1]);
949 &mov (&DWP(8,"esi"),"edi");
950 &mov (&DWP(12,"esi"),"ecx");
952 &mov (&DWP(4,"esp"),$AH[1]);
954 &mov (&DWP(8,"esp"),"edi");
955 &mov (&DWP(12,"esp"),"ecx");
957 &mov ("edi",&DWP(20,"esp"));
958 &mov ("ecx",&DWP(24,"esp"));
959 &add ($E,&DWP(16,"esi"));
960 &add ("edi",&DWP(20,"esi"));
961 &add ("ecx",&DWP(24,"esi"));
962 &mov (&DWP(16,"esi"),$E);
963 &mov (&DWP(20,"esi"),"edi");
964 &mov (&DWP(20,"esp"),"edi");
965 &mov ("edi",&DWP(28,"esp"));
966 &mov (&DWP(24,"esi"),"ecx");
968 &add ("edi",&DWP(28,"esi"));
969 &mov (&DWP(24,"esp"),"ecx");
970 &mov (&DWP(28,"esi"),"edi");
971 &mov (&DWP(28,"esp"),"edi");
972 &mov ("edi",&DWP(96+4,"esp")); # inp
976 &cmp ("edi",&DWP(96+8,"esp")); # are we done yet?
979 &mov ("esp",&DWP(96+12,"esp")); # restore sp
988 &lea ("esp",&DWP(-96,"esp"));
991 &mov ($AH[0],&DWP(0,"esi"));
992 &mov ($AH[1],&DWP(4,"esi"));
993 &mov ("ecx",&DWP(8,"esi"));
994 &mov ("edi",&DWP(12,"esi"));
996 &mov (&DWP(4,"esp"),$AH[1]);
998 &mov (&DWP(8,"esp"),"ecx");
999 &mov (&DWP(12,"esp"),"edi");
1000 &mov ($E,&DWP(16,"esi"));
1001 &mov ("edi",&DWP(20,"esi"));
1002 &mov ("ecx",&DWP(24,"esi"));
1003 &mov ("esi",&DWP(28,"esi"));
1005 &mov (&DWP(20,"esp"),"edi");
1006 &mov ("edi",&DWP(96+4,"esp")); # inp
1007 &mov (&DWP(24,"esp"),"ecx");
1008 &mov (&DWP(28,"esp"),"esi");
1020 &mov (&DWP(96+4,"esp"),"edi");
1097 &cmp (&DWP(16*$j,$K256),0x00010203);
1104 &mov ("esi",&DWP(96,"esp")); #ctx
1108 &mov ("ecx",&DWP(12,"esp"));
1109 &add ($AH[0],&DWP(0,"esi"));
1110 &add ($AH[1],&DWP(4,"esi"));
1111 &add ("edi",&DWP(8,"esi"));
1112 &add ("ecx",&DWP(12,"esi"));
1113 &mov (&DWP(0,"esi"),$AH[0]);
1114 &mov (&DWP(4,"esi"),$AH[1]);
1115 &mov (&DWP(8,"esi"),"edi");
1116 &mov (&DWP(12,"esi"),"ecx");
1118 &mov (&DWP(4,"esp"),$AH[1]);
1120 &mov (&DWP(8,"esp"),"edi");
1121 &mov (&DWP(12,"esp"),"ecx");
1123 &mov ("edi",&DWP(20,"esp"));
1124 &mov ("ecx",&DWP(24,"esp"));
1125 &add ($E,&DWP(16,"esi"));
1126 &add ("edi",&DWP(20,"esi"));
1127 &add ("ecx",&DWP(24,"esi"));
1128 &mov (&DWP(16,"esi"),$E);
1129 &mov (&DWP(20,"esi"),"edi");
1130 &mov (&DWP(20,"esp"),"edi");
1131 &mov ("edi",&DWP(28,"esp"));
1132 &mov (&DWP(24,"esi"),"ecx");
1134 &add ("edi",&DWP(28,"esi"));
1135 &mov (&DWP(24,"esp"),"ecx");
1136 &mov (&DWP(28,"esi"),"edi");
1137 &mov (&DWP(28,"esp"),"edi");
1138 &mov ("edi",&DWP(96+4,"esp")); # inp
1142 &cmp ("edi",&DWP(96+8,"esp")); # are we done yet?
1145 &mov ("esp",&DWP(96+12,"esp")); # restore sp
1185 &lea ("esp",&DWP(-96,"esp"));
1188 &mov ($AH[0],&DWP(0,"esi"));
1189 &mov ($AH[1],&DWP(4,"esi"));
1190 &mov ("ecx",&DWP(8,"esi"));
1191 &mov ("edi",&DWP(12,"esi"));
1193 &mov (&DWP(4,"esp"),$AH[1]);
1195 &mov (&DWP(8,"esp"),"ecx");
1196 &mov (&DWP(12,"esp"),"edi");
1197 &mov ($E,&DWP(16,"esi"));
1198 &mov ("edi",&DWP(20,"esi"));
1199 &mov ("ecx",&DWP(24,"esi"));
1200 &mov ("esi",&DWP(28,"esi"));
1202 &mov (&DWP(20,"esp"),"edi");
1203 &mov ("edi",&DWP(96+4,"esp")); # inp
1204 &mov (&DWP(24,"esp"),"ecx");
1205 &mov (&DWP(28,"esp"),"esi");
1217 &mov (&DWP(96+4,"esp"),"edi");
1238 &cmp (&DWP(16*$j,$K256),0x00010203);
1245 &mov ("esi",&DWP(96,"esp")); #ctx
1249 &mov ("ecx",&DWP(12,"esp"));
1250 &add ($AH[0],&DWP(0,"esi"));
1251 &add ($AH[1],&DWP(4,"esi"));
1252 &add ("edi",&DWP(8,"esi"));
1253 &add ("ecx",&DWP(12,"esi"));
1254 &mov (&DWP(0,"esi"),$AH[0]);
1255 &mov (&DWP(4,"esi"),$AH[1]);
1256 &mov (&DWP(8,"esi"),"edi");
1257 &mov (&DWP(12,"esi"),"ecx");
1259 &mov (&DWP(4,"esp"),$AH[1]);
1261 &mov (&DWP(8,"esp"),"edi");
1262 &mov (&DWP(12,"esp"),"ecx");
1264 &mov ("edi",&DWP(20,"esp"));
1265 &mov ("ecx",&DWP(24,"esp"));
1266 &add ($E,&DWP(16,"esi"));
1267 &add ("edi",&DWP(20,"esi"));
1268 &add ("ecx",&DWP(24,"esi"));
1269 &mov (&DWP(16,"esi"),$E);
1270 &mov (&DWP(20,"esi"),"edi");
1271 &mov (&DWP(20,"esp"),"edi");
1272 &mov ("edi",&DWP(28,"esp"));
1273 &mov (&DWP(24,"esi"),"ecx");
1275 &add ("edi",&DWP(28,"esi"));
1276 &mov (&DWP(24,"esp"),"ecx");
1277 &mov (&DWP(28,"esi"),"edi");
1278 &mov (&DWP(28,"esp"),"edi");
1279 &mov ("edi",&DWP(96+4,"esp")); # inp
1283 &cmp ("edi",&DWP(96+8,"esp")); # are we done yet?
1286 &mov ("esp",&DWP(96+12,"esp")); # restore sp