VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1j/crypto/genasm-macosx/md5-x86_64.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.9 KB
Line 
1.text
2.p2align 4
3
4.globl _md5_block_asm_data_order
5
6_md5_block_asm_data_order:
7
8 pushq %rbp
9
10 pushq %rbx
11
12 pushq %r12
13
14 pushq %r14
15
16 pushq %r15
17
18L$prologue:
19
20
21
22
23 movq %rdi,%rbp
24 shlq $6,%rdx
25 leaq (%rsi,%rdx,1),%rdi
26 movl 0(%rbp),%eax
27 movl 4(%rbp),%ebx
28 movl 8(%rbp),%ecx
29 movl 12(%rbp),%edx
30
31
32
33
34
35
36
37 cmpq %rdi,%rsi
38 je L$end
39
40
41L$loop:
42 movl %eax,%r8d
43 movl %ebx,%r9d
44 movl %ecx,%r14d
45 movl %edx,%r15d
46 movl 0(%rsi),%r10d
47 movl %edx,%r11d
48 xorl %ecx,%r11d
49 leal -680876936(%rax,%r10,1),%eax
50 andl %ebx,%r11d
51 movl 4(%rsi),%r10d
52 xorl %edx,%r11d
53 addl %r11d,%eax
54 roll $7,%eax
55 movl %ecx,%r11d
56 addl %ebx,%eax
57 xorl %ebx,%r11d
58 leal -389564586(%rdx,%r10,1),%edx
59 andl %eax,%r11d
60 movl 8(%rsi),%r10d
61 xorl %ecx,%r11d
62 addl %r11d,%edx
63 roll $12,%edx
64 movl %ebx,%r11d
65 addl %eax,%edx
66 xorl %eax,%r11d
67 leal 606105819(%rcx,%r10,1),%ecx
68 andl %edx,%r11d
69 movl 12(%rsi),%r10d
70 xorl %ebx,%r11d
71 addl %r11d,%ecx
72 roll $17,%ecx
73 movl %eax,%r11d
74 addl %edx,%ecx
75 xorl %edx,%r11d
76 leal -1044525330(%rbx,%r10,1),%ebx
77 andl %ecx,%r11d
78 movl 16(%rsi),%r10d
79 xorl %eax,%r11d
80 addl %r11d,%ebx
81 roll $22,%ebx
82 movl %edx,%r11d
83 addl %ecx,%ebx
84 xorl %ecx,%r11d
85 leal -176418897(%rax,%r10,1),%eax
86 andl %ebx,%r11d
87 movl 20(%rsi),%r10d
88 xorl %edx,%r11d
89 addl %r11d,%eax
90 roll $7,%eax
91 movl %ecx,%r11d
92 addl %ebx,%eax
93 xorl %ebx,%r11d
94 leal 1200080426(%rdx,%r10,1),%edx
95 andl %eax,%r11d
96 movl 24(%rsi),%r10d
97 xorl %ecx,%r11d
98 addl %r11d,%edx
99 roll $12,%edx
100 movl %ebx,%r11d
101 addl %eax,%edx
102 xorl %eax,%r11d
103 leal -1473231341(%rcx,%r10,1),%ecx
104 andl %edx,%r11d
105 movl 28(%rsi),%r10d
106 xorl %ebx,%r11d
107 addl %r11d,%ecx
108 roll $17,%ecx
109 movl %eax,%r11d
110 addl %edx,%ecx
111 xorl %edx,%r11d
112 leal -45705983(%rbx,%r10,1),%ebx
113 andl %ecx,%r11d
114 movl 32(%rsi),%r10d
115 xorl %eax,%r11d
116 addl %r11d,%ebx
117 roll $22,%ebx
118 movl %edx,%r11d
119 addl %ecx,%ebx
120 xorl %ecx,%r11d
121 leal 1770035416(%rax,%r10,1),%eax
122 andl %ebx,%r11d
123 movl 36(%rsi),%r10d
124 xorl %edx,%r11d
125 addl %r11d,%eax
126 roll $7,%eax
127 movl %ecx,%r11d
128 addl %ebx,%eax
129 xorl %ebx,%r11d
130 leal -1958414417(%rdx,%r10,1),%edx
131 andl %eax,%r11d
132 movl 40(%rsi),%r10d
133 xorl %ecx,%r11d
134 addl %r11d,%edx
135 roll $12,%edx
136 movl %ebx,%r11d
137 addl %eax,%edx
138 xorl %eax,%r11d
139 leal -42063(%rcx,%r10,1),%ecx
140 andl %edx,%r11d
141 movl 44(%rsi),%r10d
142 xorl %ebx,%r11d
143 addl %r11d,%ecx
144 roll $17,%ecx
145 movl %eax,%r11d
146 addl %edx,%ecx
147 xorl %edx,%r11d
148 leal -1990404162(%rbx,%r10,1),%ebx
149 andl %ecx,%r11d
150 movl 48(%rsi),%r10d
151 xorl %eax,%r11d
152 addl %r11d,%ebx
153 roll $22,%ebx
154 movl %edx,%r11d
155 addl %ecx,%ebx
156 xorl %ecx,%r11d
157 leal 1804603682(%rax,%r10,1),%eax
158 andl %ebx,%r11d
159 movl 52(%rsi),%r10d
160 xorl %edx,%r11d
161 addl %r11d,%eax
162 roll $7,%eax
163 movl %ecx,%r11d
164 addl %ebx,%eax
165 xorl %ebx,%r11d
166 leal -40341101(%rdx,%r10,1),%edx
167 andl %eax,%r11d
168 movl 56(%rsi),%r10d
169 xorl %ecx,%r11d
170 addl %r11d,%edx
171 roll $12,%edx
172 movl %ebx,%r11d
173 addl %eax,%edx
174 xorl %eax,%r11d
175 leal -1502002290(%rcx,%r10,1),%ecx
176 andl %edx,%r11d
177 movl 60(%rsi),%r10d
178 xorl %ebx,%r11d
179 addl %r11d,%ecx
180 roll $17,%ecx
181 movl %eax,%r11d
182 addl %edx,%ecx
183 xorl %edx,%r11d
184 leal 1236535329(%rbx,%r10,1),%ebx
185 andl %ecx,%r11d
186 movl 4(%rsi),%r10d
187 xorl %eax,%r11d
188 addl %r11d,%ebx
189 roll $22,%ebx
190 movl %edx,%r11d
191 addl %ecx,%ebx
192 movl %edx,%r11d
193 movl %edx,%r12d
194 notl %r11d
195 andl %ebx,%r12d
196 leal -165796510(%rax,%r10,1),%eax
197 andl %ecx,%r11d
198 movl 24(%rsi),%r10d
199 orl %r11d,%r12d
200 movl %ecx,%r11d
201 addl %r12d,%eax
202 movl %ecx,%r12d
203 roll $5,%eax
204 addl %ebx,%eax
205 notl %r11d
206 andl %eax,%r12d
207 leal -1069501632(%rdx,%r10,1),%edx
208 andl %ebx,%r11d
209 movl 44(%rsi),%r10d
210 orl %r11d,%r12d
211 movl %ebx,%r11d
212 addl %r12d,%edx
213 movl %ebx,%r12d
214 roll $9,%edx
215 addl %eax,%edx
216 notl %r11d
217 andl %edx,%r12d
218 leal 643717713(%rcx,%r10,1),%ecx
219 andl %eax,%r11d
220 movl 0(%rsi),%r10d
221 orl %r11d,%r12d
222 movl %eax,%r11d
223 addl %r12d,%ecx
224 movl %eax,%r12d
225 roll $14,%ecx
226 addl %edx,%ecx
227 notl %r11d
228 andl %ecx,%r12d
229 leal -373897302(%rbx,%r10,1),%ebx
230 andl %edx,%r11d
231 movl 20(%rsi),%r10d
232 orl %r11d,%r12d
233 movl %edx,%r11d
234 addl %r12d,%ebx
235 movl %edx,%r12d
236 roll $20,%ebx
237 addl %ecx,%ebx
238 notl %r11d
239 andl %ebx,%r12d
240 leal -701558691(%rax,%r10,1),%eax
241 andl %ecx,%r11d
242 movl 40(%rsi),%r10d
243 orl %r11d,%r12d
244 movl %ecx,%r11d
245 addl %r12d,%eax
246 movl %ecx,%r12d
247 roll $5,%eax
248 addl %ebx,%eax
249 notl %r11d
250 andl %eax,%r12d
251 leal 38016083(%rdx,%r10,1),%edx
252 andl %ebx,%r11d
253 movl 60(%rsi),%r10d
254 orl %r11d,%r12d
255 movl %ebx,%r11d
256 addl %r12d,%edx
257 movl %ebx,%r12d
258 roll $9,%edx
259 addl %eax,%edx
260 notl %r11d
261 andl %edx,%r12d
262 leal -660478335(%rcx,%r10,1),%ecx
263 andl %eax,%r11d
264 movl 16(%rsi),%r10d
265 orl %r11d,%r12d
266 movl %eax,%r11d
267 addl %r12d,%ecx
268 movl %eax,%r12d
269 roll $14,%ecx
270 addl %edx,%ecx
271 notl %r11d
272 andl %ecx,%r12d
273 leal -405537848(%rbx,%r10,1),%ebx
274 andl %edx,%r11d
275 movl 36(%rsi),%r10d
276 orl %r11d,%r12d
277 movl %edx,%r11d
278 addl %r12d,%ebx
279 movl %edx,%r12d
280 roll $20,%ebx
281 addl %ecx,%ebx
282 notl %r11d
283 andl %ebx,%r12d
284 leal 568446438(%rax,%r10,1),%eax
285 andl %ecx,%r11d
286 movl 56(%rsi),%r10d
287 orl %r11d,%r12d
288 movl %ecx,%r11d
289 addl %r12d,%eax
290 movl %ecx,%r12d
291 roll $5,%eax
292 addl %ebx,%eax
293 notl %r11d
294 andl %eax,%r12d
295 leal -1019803690(%rdx,%r10,1),%edx
296 andl %ebx,%r11d
297 movl 12(%rsi),%r10d
298 orl %r11d,%r12d
299 movl %ebx,%r11d
300 addl %r12d,%edx
301 movl %ebx,%r12d
302 roll $9,%edx
303 addl %eax,%edx
304 notl %r11d
305 andl %edx,%r12d
306 leal -187363961(%rcx,%r10,1),%ecx
307 andl %eax,%r11d
308 movl 32(%rsi),%r10d
309 orl %r11d,%r12d
310 movl %eax,%r11d
311 addl %r12d,%ecx
312 movl %eax,%r12d
313 roll $14,%ecx
314 addl %edx,%ecx
315 notl %r11d
316 andl %ecx,%r12d
317 leal 1163531501(%rbx,%r10,1),%ebx
318 andl %edx,%r11d
319 movl 52(%rsi),%r10d
320 orl %r11d,%r12d
321 movl %edx,%r11d
322 addl %r12d,%ebx
323 movl %edx,%r12d
324 roll $20,%ebx
325 addl %ecx,%ebx
326 notl %r11d
327 andl %ebx,%r12d
328 leal -1444681467(%rax,%r10,1),%eax
329 andl %ecx,%r11d
330 movl 8(%rsi),%r10d
331 orl %r11d,%r12d
332 movl %ecx,%r11d
333 addl %r12d,%eax
334 movl %ecx,%r12d
335 roll $5,%eax
336 addl %ebx,%eax
337 notl %r11d
338 andl %eax,%r12d
339 leal -51403784(%rdx,%r10,1),%edx
340 andl %ebx,%r11d
341 movl 28(%rsi),%r10d
342 orl %r11d,%r12d
343 movl %ebx,%r11d
344 addl %r12d,%edx
345 movl %ebx,%r12d
346 roll $9,%edx
347 addl %eax,%edx
348 notl %r11d
349 andl %edx,%r12d
350 leal 1735328473(%rcx,%r10,1),%ecx
351 andl %eax,%r11d
352 movl 48(%rsi),%r10d
353 orl %r11d,%r12d
354 movl %eax,%r11d
355 addl %r12d,%ecx
356 movl %eax,%r12d
357 roll $14,%ecx
358 addl %edx,%ecx
359 notl %r11d
360 andl %ecx,%r12d
361 leal -1926607734(%rbx,%r10,1),%ebx
362 andl %edx,%r11d
363 movl 20(%rsi),%r10d
364 orl %r11d,%r12d
365 movl %edx,%r11d
366 addl %r12d,%ebx
367 movl %edx,%r12d
368 roll $20,%ebx
369 addl %ecx,%ebx
370 movl %ecx,%r11d
371 leal -378558(%rax,%r10,1),%eax
372 xorl %edx,%r11d
373 movl 32(%rsi),%r10d
374 xorl %ebx,%r11d
375 addl %r11d,%eax
376 movl %ebx,%r11d
377 roll $4,%eax
378 addl %ebx,%eax
379 leal -2022574463(%rdx,%r10,1),%edx
380 xorl %ecx,%r11d
381 movl 44(%rsi),%r10d
382 xorl %eax,%r11d
383 addl %r11d,%edx
384 roll $11,%edx
385 movl %eax,%r11d
386 addl %eax,%edx
387 leal 1839030562(%rcx,%r10,1),%ecx
388 xorl %ebx,%r11d
389 movl 56(%rsi),%r10d
390 xorl %edx,%r11d
391 addl %r11d,%ecx
392 movl %edx,%r11d
393 roll $16,%ecx
394 addl %edx,%ecx
395 leal -35309556(%rbx,%r10,1),%ebx
396 xorl %eax,%r11d
397 movl 4(%rsi),%r10d
398 xorl %ecx,%r11d
399 addl %r11d,%ebx
400 roll $23,%ebx
401 movl %ecx,%r11d
402 addl %ecx,%ebx
403 leal -1530992060(%rax,%r10,1),%eax
404 xorl %edx,%r11d
405 movl 16(%rsi),%r10d
406 xorl %ebx,%r11d
407 addl %r11d,%eax
408 movl %ebx,%r11d
409 roll $4,%eax
410 addl %ebx,%eax
411 leal 1272893353(%rdx,%r10,1),%edx
412 xorl %ecx,%r11d
413 movl 28(%rsi),%r10d
414 xorl %eax,%r11d
415 addl %r11d,%edx
416 roll $11,%edx
417 movl %eax,%r11d
418 addl %eax,%edx
419 leal -155497632(%rcx,%r10,1),%ecx
420 xorl %ebx,%r11d
421 movl 40(%rsi),%r10d
422 xorl %edx,%r11d
423 addl %r11d,%ecx
424 movl %edx,%r11d
425 roll $16,%ecx
426 addl %edx,%ecx
427 leal -1094730640(%rbx,%r10,1),%ebx
428 xorl %eax,%r11d
429 movl 52(%rsi),%r10d
430 xorl %ecx,%r11d
431 addl %r11d,%ebx
432 roll $23,%ebx
433 movl %ecx,%r11d
434 addl %ecx,%ebx
435 leal 681279174(%rax,%r10,1),%eax
436 xorl %edx,%r11d
437 movl 0(%rsi),%r10d
438 xorl %ebx,%r11d
439 addl %r11d,%eax
440 movl %ebx,%r11d
441 roll $4,%eax
442 addl %ebx,%eax
443 leal -358537222(%rdx,%r10,1),%edx
444 xorl %ecx,%r11d
445 movl 12(%rsi),%r10d
446 xorl %eax,%r11d
447 addl %r11d,%edx
448 roll $11,%edx
449 movl %eax,%r11d
450 addl %eax,%edx
451 leal -722521979(%rcx,%r10,1),%ecx
452 xorl %ebx,%r11d
453 movl 24(%rsi),%r10d
454 xorl %edx,%r11d
455 addl %r11d,%ecx
456 movl %edx,%r11d
457 roll $16,%ecx
458 addl %edx,%ecx
459 leal 76029189(%rbx,%r10,1),%ebx
460 xorl %eax,%r11d
461 movl 36(%rsi),%r10d
462 xorl %ecx,%r11d
463 addl %r11d,%ebx
464 roll $23,%ebx
465 movl %ecx,%r11d
466 addl %ecx,%ebx
467 leal -640364487(%rax,%r10,1),%eax
468 xorl %edx,%r11d
469 movl 48(%rsi),%r10d
470 xorl %ebx,%r11d
471 addl %r11d,%eax
472 movl %ebx,%r11d
473 roll $4,%eax
474 addl %ebx,%eax
475 leal -421815835(%rdx,%r10,1),%edx
476 xorl %ecx,%r11d
477 movl 60(%rsi),%r10d
478 xorl %eax,%r11d
479 addl %r11d,%edx
480 roll $11,%edx
481 movl %eax,%r11d
482 addl %eax,%edx
483 leal 530742520(%rcx,%r10,1),%ecx
484 xorl %ebx,%r11d
485 movl 8(%rsi),%r10d
486 xorl %edx,%r11d
487 addl %r11d,%ecx
488 movl %edx,%r11d
489 roll $16,%ecx
490 addl %edx,%ecx
491 leal -995338651(%rbx,%r10,1),%ebx
492 xorl %eax,%r11d
493 movl 0(%rsi),%r10d
494 xorl %ecx,%r11d
495 addl %r11d,%ebx
496 roll $23,%ebx
497 movl %ecx,%r11d
498 addl %ecx,%ebx
499 movl $0xffffffff,%r11d
500 xorl %edx,%r11d
501 leal -198630844(%rax,%r10,1),%eax
502 orl %ebx,%r11d
503 movl 28(%rsi),%r10d
504 xorl %ecx,%r11d
505 addl %r11d,%eax
506 movl $0xffffffff,%r11d
507 roll $6,%eax
508 xorl %ecx,%r11d
509 addl %ebx,%eax
510 leal 1126891415(%rdx,%r10,1),%edx
511 orl %eax,%r11d
512 movl 56(%rsi),%r10d
513 xorl %ebx,%r11d
514 addl %r11d,%edx
515 movl $0xffffffff,%r11d
516 roll $10,%edx
517 xorl %ebx,%r11d
518 addl %eax,%edx
519 leal -1416354905(%rcx,%r10,1),%ecx
520 orl %edx,%r11d
521 movl 20(%rsi),%r10d
522 xorl %eax,%r11d
523 addl %r11d,%ecx
524 movl $0xffffffff,%r11d
525 roll $15,%ecx
526 xorl %eax,%r11d
527 addl %edx,%ecx
528 leal -57434055(%rbx,%r10,1),%ebx
529 orl %ecx,%r11d
530 movl 48(%rsi),%r10d
531 xorl %edx,%r11d
532 addl %r11d,%ebx
533 movl $0xffffffff,%r11d
534 roll $21,%ebx
535 xorl %edx,%r11d
536 addl %ecx,%ebx
537 leal 1700485571(%rax,%r10,1),%eax
538 orl %ebx,%r11d
539 movl 12(%rsi),%r10d
540 xorl %ecx,%r11d
541 addl %r11d,%eax
542 movl $0xffffffff,%r11d
543 roll $6,%eax
544 xorl %ecx,%r11d
545 addl %ebx,%eax
546 leal -1894986606(%rdx,%r10,1),%edx
547 orl %eax,%r11d
548 movl 40(%rsi),%r10d
549 xorl %ebx,%r11d
550 addl %r11d,%edx
551 movl $0xffffffff,%r11d
552 roll $10,%edx
553 xorl %ebx,%r11d
554 addl %eax,%edx
555 leal -1051523(%rcx,%r10,1),%ecx
556 orl %edx,%r11d
557 movl 4(%rsi),%r10d
558 xorl %eax,%r11d
559 addl %r11d,%ecx
560 movl $0xffffffff,%r11d
561 roll $15,%ecx
562 xorl %eax,%r11d
563 addl %edx,%ecx
564 leal -2054922799(%rbx,%r10,1),%ebx
565 orl %ecx,%r11d
566 movl 32(%rsi),%r10d
567 xorl %edx,%r11d
568 addl %r11d,%ebx
569 movl $0xffffffff,%r11d
570 roll $21,%ebx
571 xorl %edx,%r11d
572 addl %ecx,%ebx
573 leal 1873313359(%rax,%r10,1),%eax
574 orl %ebx,%r11d
575 movl 60(%rsi),%r10d
576 xorl %ecx,%r11d
577 addl %r11d,%eax
578 movl $0xffffffff,%r11d
579 roll $6,%eax
580 xorl %ecx,%r11d
581 addl %ebx,%eax
582 leal -30611744(%rdx,%r10,1),%edx
583 orl %eax,%r11d
584 movl 24(%rsi),%r10d
585 xorl %ebx,%r11d
586 addl %r11d,%edx
587 movl $0xffffffff,%r11d
588 roll $10,%edx
589 xorl %ebx,%r11d
590 addl %eax,%edx
591 leal -1560198380(%rcx,%r10,1),%ecx
592 orl %edx,%r11d
593 movl 52(%rsi),%r10d
594 xorl %eax,%r11d
595 addl %r11d,%ecx
596 movl $0xffffffff,%r11d
597 roll $15,%ecx
598 xorl %eax,%r11d
599 addl %edx,%ecx
600 leal 1309151649(%rbx,%r10,1),%ebx
601 orl %ecx,%r11d
602 movl 16(%rsi),%r10d
603 xorl %edx,%r11d
604 addl %r11d,%ebx
605 movl $0xffffffff,%r11d
606 roll $21,%ebx
607 xorl %edx,%r11d
608 addl %ecx,%ebx
609 leal -145523070(%rax,%r10,1),%eax
610 orl %ebx,%r11d
611 movl 44(%rsi),%r10d
612 xorl %ecx,%r11d
613 addl %r11d,%eax
614 movl $0xffffffff,%r11d
615 roll $6,%eax
616 xorl %ecx,%r11d
617 addl %ebx,%eax
618 leal -1120210379(%rdx,%r10,1),%edx
619 orl %eax,%r11d
620 movl 8(%rsi),%r10d
621 xorl %ebx,%r11d
622 addl %r11d,%edx
623 movl $0xffffffff,%r11d
624 roll $10,%edx
625 xorl %ebx,%r11d
626 addl %eax,%edx
627 leal 718787259(%rcx,%r10,1),%ecx
628 orl %edx,%r11d
629 movl 36(%rsi),%r10d
630 xorl %eax,%r11d
631 addl %r11d,%ecx
632 movl $0xffffffff,%r11d
633 roll $15,%ecx
634 xorl %eax,%r11d
635 addl %edx,%ecx
636 leal -343485551(%rbx,%r10,1),%ebx
637 orl %ecx,%r11d
638 movl 0(%rsi),%r10d
639 xorl %edx,%r11d
640 addl %r11d,%ebx
641 movl $0xffffffff,%r11d
642 roll $21,%ebx
643 xorl %edx,%r11d
644 addl %ecx,%ebx
645
646 addl %r8d,%eax
647 addl %r9d,%ebx
648 addl %r14d,%ecx
649 addl %r15d,%edx
650
651
652 addq $64,%rsi
653 cmpq %rdi,%rsi
654 jb L$loop
655
656
657L$end:
658 movl %eax,0(%rbp)
659 movl %ebx,4(%rbp)
660 movl %ecx,8(%rbp)
661 movl %edx,12(%rbp)
662
663 movq (%rsp),%r15
664
665 movq 8(%rsp),%r14
666
667 movq 16(%rsp),%r12
668
669 movq 24(%rsp),%rbx
670
671 movq 32(%rsp),%rbp
672
673 addq $40,%rsp
674
675L$epilogue:
676 .byte 0xf3,0xc3
677
678
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