VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1j/crypto/genasm-macosx/md5-586.S@ 88461

Last change on this file since 88461 was 83531, checked in by vboxsync, 5 years ago

setting svn:sync-process=export for openssl-1.1.1f, all files except tests

File size: 11.4 KB
Line 
1.text
2.globl _md5_block_asm_data_order
3.align 4
4_md5_block_asm_data_order:
5L_md5_block_asm_data_order_begin:
6 pushl %esi
7 pushl %edi
8 movl 12(%esp),%edi
9 movl 16(%esp),%esi
10 movl 20(%esp),%ecx
11 pushl %ebp
12 shll $6,%ecx
13 pushl %ebx
14 addl %esi,%ecx
15 subl $64,%ecx
16 movl (%edi),%eax
17 pushl %ecx
18 movl 4(%edi),%ebx
19 movl 8(%edi),%ecx
20 movl 12(%edi),%edx
21L000start:
22
23 # R0 section
24 movl %ecx,%edi
25 movl (%esi),%ebp
26 # R0 0
27 xorl %edx,%edi
28 andl %ebx,%edi
29 leal 3614090360(%eax,%ebp,1),%eax
30 xorl %edx,%edi
31 movl 4(%esi),%ebp
32 addl %edi,%eax
33 roll $7,%eax
34 movl %ebx,%edi
35 addl %ebx,%eax
36 # R0 1
37 xorl %ecx,%edi
38 andl %eax,%edi
39 leal 3905402710(%edx,%ebp,1),%edx
40 xorl %ecx,%edi
41 movl 8(%esi),%ebp
42 addl %edi,%edx
43 roll $12,%edx
44 movl %eax,%edi
45 addl %eax,%edx
46 # R0 2
47 xorl %ebx,%edi
48 andl %edx,%edi
49 leal 606105819(%ecx,%ebp,1),%ecx
50 xorl %ebx,%edi
51 movl 12(%esi),%ebp
52 addl %edi,%ecx
53 roll $17,%ecx
54 movl %edx,%edi
55 addl %edx,%ecx
56 # R0 3
57 xorl %eax,%edi
58 andl %ecx,%edi
59 leal 3250441966(%ebx,%ebp,1),%ebx
60 xorl %eax,%edi
61 movl 16(%esi),%ebp
62 addl %edi,%ebx
63 roll $22,%ebx
64 movl %ecx,%edi
65 addl %ecx,%ebx
66 # R0 4
67 xorl %edx,%edi
68 andl %ebx,%edi
69 leal 4118548399(%eax,%ebp,1),%eax
70 xorl %edx,%edi
71 movl 20(%esi),%ebp
72 addl %edi,%eax
73 roll $7,%eax
74 movl %ebx,%edi
75 addl %ebx,%eax
76 # R0 5
77 xorl %ecx,%edi
78 andl %eax,%edi
79 leal 1200080426(%edx,%ebp,1),%edx
80 xorl %ecx,%edi
81 movl 24(%esi),%ebp
82 addl %edi,%edx
83 roll $12,%edx
84 movl %eax,%edi
85 addl %eax,%edx
86 # R0 6
87 xorl %ebx,%edi
88 andl %edx,%edi
89 leal 2821735955(%ecx,%ebp,1),%ecx
90 xorl %ebx,%edi
91 movl 28(%esi),%ebp
92 addl %edi,%ecx
93 roll $17,%ecx
94 movl %edx,%edi
95 addl %edx,%ecx
96 # R0 7
97 xorl %eax,%edi
98 andl %ecx,%edi
99 leal 4249261313(%ebx,%ebp,1),%ebx
100 xorl %eax,%edi
101 movl 32(%esi),%ebp
102 addl %edi,%ebx
103 roll $22,%ebx
104 movl %ecx,%edi
105 addl %ecx,%ebx
106 # R0 8
107 xorl %edx,%edi
108 andl %ebx,%edi
109 leal 1770035416(%eax,%ebp,1),%eax
110 xorl %edx,%edi
111 movl 36(%esi),%ebp
112 addl %edi,%eax
113 roll $7,%eax
114 movl %ebx,%edi
115 addl %ebx,%eax
116 # R0 9
117 xorl %ecx,%edi
118 andl %eax,%edi
119 leal 2336552879(%edx,%ebp,1),%edx
120 xorl %ecx,%edi
121 movl 40(%esi),%ebp
122 addl %edi,%edx
123 roll $12,%edx
124 movl %eax,%edi
125 addl %eax,%edx
126 # R0 10
127 xorl %ebx,%edi
128 andl %edx,%edi
129 leal 4294925233(%ecx,%ebp,1),%ecx
130 xorl %ebx,%edi
131 movl 44(%esi),%ebp
132 addl %edi,%ecx
133 roll $17,%ecx
134 movl %edx,%edi
135 addl %edx,%ecx
136 # R0 11
137 xorl %eax,%edi
138 andl %ecx,%edi
139 leal 2304563134(%ebx,%ebp,1),%ebx
140 xorl %eax,%edi
141 movl 48(%esi),%ebp
142 addl %edi,%ebx
143 roll $22,%ebx
144 movl %ecx,%edi
145 addl %ecx,%ebx
146 # R0 12
147 xorl %edx,%edi
148 andl %ebx,%edi
149 leal 1804603682(%eax,%ebp,1),%eax
150 xorl %edx,%edi
151 movl 52(%esi),%ebp
152 addl %edi,%eax
153 roll $7,%eax
154 movl %ebx,%edi
155 addl %ebx,%eax
156 # R0 13
157 xorl %ecx,%edi
158 andl %eax,%edi
159 leal 4254626195(%edx,%ebp,1),%edx
160 xorl %ecx,%edi
161 movl 56(%esi),%ebp
162 addl %edi,%edx
163 roll $12,%edx
164 movl %eax,%edi
165 addl %eax,%edx
166 # R0 14
167 xorl %ebx,%edi
168 andl %edx,%edi
169 leal 2792965006(%ecx,%ebp,1),%ecx
170 xorl %ebx,%edi
171 movl 60(%esi),%ebp
172 addl %edi,%ecx
173 roll $17,%ecx
174 movl %edx,%edi
175 addl %edx,%ecx
176 # R0 15
177 xorl %eax,%edi
178 andl %ecx,%edi
179 leal 1236535329(%ebx,%ebp,1),%ebx
180 xorl %eax,%edi
181 movl 4(%esi),%ebp
182 addl %edi,%ebx
183 roll $22,%ebx
184 movl %ecx,%edi
185 addl %ecx,%ebx
186
187 # R1 section
188 # R1 16
189 xorl %ebx,%edi
190 andl %edx,%edi
191 leal 4129170786(%eax,%ebp,1),%eax
192 xorl %ecx,%edi
193 movl 24(%esi),%ebp
194 addl %edi,%eax
195 movl %ebx,%edi
196 roll $5,%eax
197 addl %ebx,%eax
198 # R1 17
199 xorl %eax,%edi
200 andl %ecx,%edi
201 leal 3225465664(%edx,%ebp,1),%edx
202 xorl %ebx,%edi
203 movl 44(%esi),%ebp
204 addl %edi,%edx
205 movl %eax,%edi
206 roll $9,%edx
207 addl %eax,%edx
208 # R1 18
209 xorl %edx,%edi
210 andl %ebx,%edi
211 leal 643717713(%ecx,%ebp,1),%ecx
212 xorl %eax,%edi
213 movl (%esi),%ebp
214 addl %edi,%ecx
215 movl %edx,%edi
216 roll $14,%ecx
217 addl %edx,%ecx
218 # R1 19
219 xorl %ecx,%edi
220 andl %eax,%edi
221 leal 3921069994(%ebx,%ebp,1),%ebx
222 xorl %edx,%edi
223 movl 20(%esi),%ebp
224 addl %edi,%ebx
225 movl %ecx,%edi
226 roll $20,%ebx
227 addl %ecx,%ebx
228 # R1 20
229 xorl %ebx,%edi
230 andl %edx,%edi
231 leal 3593408605(%eax,%ebp,1),%eax
232 xorl %ecx,%edi
233 movl 40(%esi),%ebp
234 addl %edi,%eax
235 movl %ebx,%edi
236 roll $5,%eax
237 addl %ebx,%eax
238 # R1 21
239 xorl %eax,%edi
240 andl %ecx,%edi
241 leal 38016083(%edx,%ebp,1),%edx
242 xorl %ebx,%edi
243 movl 60(%esi),%ebp
244 addl %edi,%edx
245 movl %eax,%edi
246 roll $9,%edx
247 addl %eax,%edx
248 # R1 22
249 xorl %edx,%edi
250 andl %ebx,%edi
251 leal 3634488961(%ecx,%ebp,1),%ecx
252 xorl %eax,%edi
253 movl 16(%esi),%ebp
254 addl %edi,%ecx
255 movl %edx,%edi
256 roll $14,%ecx
257 addl %edx,%ecx
258 # R1 23
259 xorl %ecx,%edi
260 andl %eax,%edi
261 leal 3889429448(%ebx,%ebp,1),%ebx
262 xorl %edx,%edi
263 movl 36(%esi),%ebp
264 addl %edi,%ebx
265 movl %ecx,%edi
266 roll $20,%ebx
267 addl %ecx,%ebx
268 # R1 24
269 xorl %ebx,%edi
270 andl %edx,%edi
271 leal 568446438(%eax,%ebp,1),%eax
272 xorl %ecx,%edi
273 movl 56(%esi),%ebp
274 addl %edi,%eax
275 movl %ebx,%edi
276 roll $5,%eax
277 addl %ebx,%eax
278 # R1 25
279 xorl %eax,%edi
280 andl %ecx,%edi
281 leal 3275163606(%edx,%ebp,1),%edx
282 xorl %ebx,%edi
283 movl 12(%esi),%ebp
284 addl %edi,%edx
285 movl %eax,%edi
286 roll $9,%edx
287 addl %eax,%edx
288 # R1 26
289 xorl %edx,%edi
290 andl %ebx,%edi
291 leal 4107603335(%ecx,%ebp,1),%ecx
292 xorl %eax,%edi
293 movl 32(%esi),%ebp
294 addl %edi,%ecx
295 movl %edx,%edi
296 roll $14,%ecx
297 addl %edx,%ecx
298 # R1 27
299 xorl %ecx,%edi
300 andl %eax,%edi
301 leal 1163531501(%ebx,%ebp,1),%ebx
302 xorl %edx,%edi
303 movl 52(%esi),%ebp
304 addl %edi,%ebx
305 movl %ecx,%edi
306 roll $20,%ebx
307 addl %ecx,%ebx
308 # R1 28
309 xorl %ebx,%edi
310 andl %edx,%edi
311 leal 2850285829(%eax,%ebp,1),%eax
312 xorl %ecx,%edi
313 movl 8(%esi),%ebp
314 addl %edi,%eax
315 movl %ebx,%edi
316 roll $5,%eax
317 addl %ebx,%eax
318 # R1 29
319 xorl %eax,%edi
320 andl %ecx,%edi
321 leal 4243563512(%edx,%ebp,1),%edx
322 xorl %ebx,%edi
323 movl 28(%esi),%ebp
324 addl %edi,%edx
325 movl %eax,%edi
326 roll $9,%edx
327 addl %eax,%edx
328 # R1 30
329 xorl %edx,%edi
330 andl %ebx,%edi
331 leal 1735328473(%ecx,%ebp,1),%ecx
332 xorl %eax,%edi
333 movl 48(%esi),%ebp
334 addl %edi,%ecx
335 movl %edx,%edi
336 roll $14,%ecx
337 addl %edx,%ecx
338 # R1 31
339 xorl %ecx,%edi
340 andl %eax,%edi
341 leal 2368359562(%ebx,%ebp,1),%ebx
342 xorl %edx,%edi
343 movl 20(%esi),%ebp
344 addl %edi,%ebx
345 movl %ecx,%edi
346 roll $20,%ebx
347 addl %ecx,%ebx
348
349 # R2 section
350 # R2 32
351 xorl %edx,%edi
352 xorl %ebx,%edi
353 leal 4294588738(%eax,%ebp,1),%eax
354 addl %edi,%eax
355 movl 32(%esi),%ebp
356 roll $4,%eax
357 movl %ebx,%edi
358 # R2 33
359 addl %ebx,%eax
360 xorl %ecx,%edi
361 leal 2272392833(%edx,%ebp,1),%edx
362 xorl %eax,%edi
363 movl 44(%esi),%ebp
364 addl %edi,%edx
365 movl %eax,%edi
366 roll $11,%edx
367 addl %eax,%edx
368 # R2 34
369 xorl %ebx,%edi
370 xorl %edx,%edi
371 leal 1839030562(%ecx,%ebp,1),%ecx
372 addl %edi,%ecx
373 movl 56(%esi),%ebp
374 roll $16,%ecx
375 movl %edx,%edi
376 # R2 35
377 addl %edx,%ecx
378 xorl %eax,%edi
379 leal 4259657740(%ebx,%ebp,1),%ebx
380 xorl %ecx,%edi
381 movl 4(%esi),%ebp
382 addl %edi,%ebx
383 movl %ecx,%edi
384 roll $23,%ebx
385 addl %ecx,%ebx
386 # R2 36
387 xorl %edx,%edi
388 xorl %ebx,%edi
389 leal 2763975236(%eax,%ebp,1),%eax
390 addl %edi,%eax
391 movl 16(%esi),%ebp
392 roll $4,%eax
393 movl %ebx,%edi
394 # R2 37
395 addl %ebx,%eax
396 xorl %ecx,%edi
397 leal 1272893353(%edx,%ebp,1),%edx
398 xorl %eax,%edi
399 movl 28(%esi),%ebp
400 addl %edi,%edx
401 movl %eax,%edi
402 roll $11,%edx
403 addl %eax,%edx
404 # R2 38
405 xorl %ebx,%edi
406 xorl %edx,%edi
407 leal 4139469664(%ecx,%ebp,1),%ecx
408 addl %edi,%ecx
409 movl 40(%esi),%ebp
410 roll $16,%ecx
411 movl %edx,%edi
412 # R2 39
413 addl %edx,%ecx
414 xorl %eax,%edi
415 leal 3200236656(%ebx,%ebp,1),%ebx
416 xorl %ecx,%edi
417 movl 52(%esi),%ebp
418 addl %edi,%ebx
419 movl %ecx,%edi
420 roll $23,%ebx
421 addl %ecx,%ebx
422 # R2 40
423 xorl %edx,%edi
424 xorl %ebx,%edi
425 leal 681279174(%eax,%ebp,1),%eax
426 addl %edi,%eax
427 movl (%esi),%ebp
428 roll $4,%eax
429 movl %ebx,%edi
430 # R2 41
431 addl %ebx,%eax
432 xorl %ecx,%edi
433 leal 3936430074(%edx,%ebp,1),%edx
434 xorl %eax,%edi
435 movl 12(%esi),%ebp
436 addl %edi,%edx
437 movl %eax,%edi
438 roll $11,%edx
439 addl %eax,%edx
440 # R2 42
441 xorl %ebx,%edi
442 xorl %edx,%edi
443 leal 3572445317(%ecx,%ebp,1),%ecx
444 addl %edi,%ecx
445 movl 24(%esi),%ebp
446 roll $16,%ecx
447 movl %edx,%edi
448 # R2 43
449 addl %edx,%ecx
450 xorl %eax,%edi
451 leal 76029189(%ebx,%ebp,1),%ebx
452 xorl %ecx,%edi
453 movl 36(%esi),%ebp
454 addl %edi,%ebx
455 movl %ecx,%edi
456 roll $23,%ebx
457 addl %ecx,%ebx
458 # R2 44
459 xorl %edx,%edi
460 xorl %ebx,%edi
461 leal 3654602809(%eax,%ebp,1),%eax
462 addl %edi,%eax
463 movl 48(%esi),%ebp
464 roll $4,%eax
465 movl %ebx,%edi
466 # R2 45
467 addl %ebx,%eax
468 xorl %ecx,%edi
469 leal 3873151461(%edx,%ebp,1),%edx
470 xorl %eax,%edi
471 movl 60(%esi),%ebp
472 addl %edi,%edx
473 movl %eax,%edi
474 roll $11,%edx
475 addl %eax,%edx
476 # R2 46
477 xorl %ebx,%edi
478 xorl %edx,%edi
479 leal 530742520(%ecx,%ebp,1),%ecx
480 addl %edi,%ecx
481 movl 8(%esi),%ebp
482 roll $16,%ecx
483 movl %edx,%edi
484 # R2 47
485 addl %edx,%ecx
486 xorl %eax,%edi
487 leal 3299628645(%ebx,%ebp,1),%ebx
488 xorl %ecx,%edi
489 movl (%esi),%ebp
490 addl %edi,%ebx
491 movl $-1,%edi
492 roll $23,%ebx
493 addl %ecx,%ebx
494
495 # R3 section
496 # R3 48
497 xorl %edx,%edi
498 orl %ebx,%edi
499 leal 4096336452(%eax,%ebp,1),%eax
500 xorl %ecx,%edi
501 movl 28(%esi),%ebp
502 addl %edi,%eax
503 movl $-1,%edi
504 roll $6,%eax
505 xorl %ecx,%edi
506 addl %ebx,%eax
507 # R3 49
508 orl %eax,%edi
509 leal 1126891415(%edx,%ebp,1),%edx
510 xorl %ebx,%edi
511 movl 56(%esi),%ebp
512 addl %edi,%edx
513 movl $-1,%edi
514 roll $10,%edx
515 xorl %ebx,%edi
516 addl %eax,%edx
517 # R3 50
518 orl %edx,%edi
519 leal 2878612391(%ecx,%ebp,1),%ecx
520 xorl %eax,%edi
521 movl 20(%esi),%ebp
522 addl %edi,%ecx
523 movl $-1,%edi
524 roll $15,%ecx
525 xorl %eax,%edi
526 addl %edx,%ecx
527 # R3 51
528 orl %ecx,%edi
529 leal 4237533241(%ebx,%ebp,1),%ebx
530 xorl %edx,%edi
531 movl 48(%esi),%ebp
532 addl %edi,%ebx
533 movl $-1,%edi
534 roll $21,%ebx
535 xorl %edx,%edi
536 addl %ecx,%ebx
537 # R3 52
538 orl %ebx,%edi
539 leal 1700485571(%eax,%ebp,1),%eax
540 xorl %ecx,%edi
541 movl 12(%esi),%ebp
542 addl %edi,%eax
543 movl $-1,%edi
544 roll $6,%eax
545 xorl %ecx,%edi
546 addl %ebx,%eax
547 # R3 53
548 orl %eax,%edi
549 leal 2399980690(%edx,%ebp,1),%edx
550 xorl %ebx,%edi
551 movl 40(%esi),%ebp
552 addl %edi,%edx
553 movl $-1,%edi
554 roll $10,%edx
555 xorl %ebx,%edi
556 addl %eax,%edx
557 # R3 54
558 orl %edx,%edi
559 leal 4293915773(%ecx,%ebp,1),%ecx
560 xorl %eax,%edi
561 movl 4(%esi),%ebp
562 addl %edi,%ecx
563 movl $-1,%edi
564 roll $15,%ecx
565 xorl %eax,%edi
566 addl %edx,%ecx
567 # R3 55
568 orl %ecx,%edi
569 leal 2240044497(%ebx,%ebp,1),%ebx
570 xorl %edx,%edi
571 movl 32(%esi),%ebp
572 addl %edi,%ebx
573 movl $-1,%edi
574 roll $21,%ebx
575 xorl %edx,%edi
576 addl %ecx,%ebx
577 # R3 56
578 orl %ebx,%edi
579 leal 1873313359(%eax,%ebp,1),%eax
580 xorl %ecx,%edi
581 movl 60(%esi),%ebp
582 addl %edi,%eax
583 movl $-1,%edi
584 roll $6,%eax
585 xorl %ecx,%edi
586 addl %ebx,%eax
587 # R3 57
588 orl %eax,%edi
589 leal 4264355552(%edx,%ebp,1),%edx
590 xorl %ebx,%edi
591 movl 24(%esi),%ebp
592 addl %edi,%edx
593 movl $-1,%edi
594 roll $10,%edx
595 xorl %ebx,%edi
596 addl %eax,%edx
597 # R3 58
598 orl %edx,%edi
599 leal 2734768916(%ecx,%ebp,1),%ecx
600 xorl %eax,%edi
601 movl 52(%esi),%ebp
602 addl %edi,%ecx
603 movl $-1,%edi
604 roll $15,%ecx
605 xorl %eax,%edi
606 addl %edx,%ecx
607 # R3 59
608 orl %ecx,%edi
609 leal 1309151649(%ebx,%ebp,1),%ebx
610 xorl %edx,%edi
611 movl 16(%esi),%ebp
612 addl %edi,%ebx
613 movl $-1,%edi
614 roll $21,%ebx
615 xorl %edx,%edi
616 addl %ecx,%ebx
617 # R3 60
618 orl %ebx,%edi
619 leal 4149444226(%eax,%ebp,1),%eax
620 xorl %ecx,%edi
621 movl 44(%esi),%ebp
622 addl %edi,%eax
623 movl $-1,%edi
624 roll $6,%eax
625 xorl %ecx,%edi
626 addl %ebx,%eax
627 # R3 61
628 orl %eax,%edi
629 leal 3174756917(%edx,%ebp,1),%edx
630 xorl %ebx,%edi
631 movl 8(%esi),%ebp
632 addl %edi,%edx
633 movl $-1,%edi
634 roll $10,%edx
635 xorl %ebx,%edi
636 addl %eax,%edx
637 # R3 62
638 orl %edx,%edi
639 leal 718787259(%ecx,%ebp,1),%ecx
640 xorl %eax,%edi
641 movl 36(%esi),%ebp
642 addl %edi,%ecx
643 movl $-1,%edi
644 roll $15,%ecx
645 xorl %eax,%edi
646 addl %edx,%ecx
647 # R3 63
648 orl %ecx,%edi
649 leal 3951481745(%ebx,%ebp,1),%ebx
650 xorl %edx,%edi
651 movl 24(%esp),%ebp
652 addl %edi,%ebx
653 addl $64,%esi
654 roll $21,%ebx
655 movl (%ebp),%edi
656 addl %ecx,%ebx
657 addl %edi,%eax
658 movl 4(%ebp),%edi
659 addl %edi,%ebx
660 movl 8(%ebp),%edi
661 addl %edi,%ecx
662 movl 12(%ebp),%edi
663 addl %edi,%edx
664 movl %eax,(%ebp)
665 movl %ebx,4(%ebp)
666 movl (%esp),%edi
667 movl %ecx,8(%ebp)
668 movl %edx,12(%ebp)
669 cmpl %esi,%edi
670 jae L000start
671 popl %eax
672 popl %ebx
673 popl %ebp
674 popl %edi
675 popl %esi
676 ret
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette