| OLD | NEW |
| 1 #if defined(__x86_64__) | 1 #if defined(__x86_64__) |
| 2 .text | 2 .text |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 .globl _rsaz_512_sqr | 6 .globl _rsaz_512_sqr |
| 7 .private_extern _rsaz_512_sqr |
| 7 | 8 |
| 8 .p2align 5 | 9 .p2align 5 |
| 9 _rsaz_512_sqr: | 10 _rsaz_512_sqr: |
| 10 pushq %rbx | 11 pushq %rbx |
| 11 pushq %rbp | 12 pushq %rbp |
| 12 pushq %r12 | 13 pushq %r12 |
| 13 pushq %r13 | 14 pushq %r13 |
| 14 pushq %r14 | 15 pushq %r14 |
| 15 pushq %r15 | 16 pushq %r15 |
| 16 | 17 |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 movq -40(%rax),%r14 | 390 movq -40(%rax),%r14 |
| 390 movq -32(%rax),%r13 | 391 movq -32(%rax),%r13 |
| 391 movq -24(%rax),%r12 | 392 movq -24(%rax),%r12 |
| 392 movq -16(%rax),%rbp | 393 movq -16(%rax),%rbp |
| 393 movq -8(%rax),%rbx | 394 movq -8(%rax),%rbx |
| 394 leaq (%rax),%rsp | 395 leaq (%rax),%rsp |
| 395 L$sqr_epilogue: | 396 L$sqr_epilogue: |
| 396 .byte 0xf3,0xc3 | 397 .byte 0xf3,0xc3 |
| 397 | 398 |
| 398 .globl _rsaz_512_mul | 399 .globl _rsaz_512_mul |
| 400 .private_extern _rsaz_512_mul |
| 399 | 401 |
| 400 .p2align 5 | 402 .p2align 5 |
| 401 _rsaz_512_mul: | 403 _rsaz_512_mul: |
| 402 pushq %rbx | 404 pushq %rbx |
| 403 pushq %rbp | 405 pushq %rbp |
| 404 pushq %r12 | 406 pushq %r12 |
| 405 pushq %r13 | 407 pushq %r13 |
| 406 pushq %r14 | 408 pushq %r14 |
| 407 pushq %r15 | 409 pushq %r15 |
| 408 | 410 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 movq -40(%rax),%r14 | 447 movq -40(%rax),%r14 |
| 446 movq -32(%rax),%r13 | 448 movq -32(%rax),%r13 |
| 447 movq -24(%rax),%r12 | 449 movq -24(%rax),%r12 |
| 448 movq -16(%rax),%rbp | 450 movq -16(%rax),%rbp |
| 449 movq -8(%rax),%rbx | 451 movq -8(%rax),%rbx |
| 450 leaq (%rax),%rsp | 452 leaq (%rax),%rsp |
| 451 L$mul_epilogue: | 453 L$mul_epilogue: |
| 452 .byte 0xf3,0xc3 | 454 .byte 0xf3,0xc3 |
| 453 | 455 |
| 454 .globl _rsaz_512_mul_gather4 | 456 .globl _rsaz_512_mul_gather4 |
| 457 .private_extern _rsaz_512_mul_gather4 |
| 455 | 458 |
| 456 .p2align 5 | 459 .p2align 5 |
| 457 _rsaz_512_mul_gather4: | 460 _rsaz_512_mul_gather4: |
| 458 pushq %rbx | 461 pushq %rbx |
| 459 pushq %rbp | 462 pushq %rbp |
| 460 pushq %r12 | 463 pushq %r12 |
| 461 pushq %r13 | 464 pushq %r13 |
| 462 pushq %r14 | 465 pushq %r14 |
| 463 pushq %r15 | 466 pushq %r15 |
| 464 | 467 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 movq -40(%rax),%r14 | 651 movq -40(%rax),%r14 |
| 649 movq -32(%rax),%r13 | 652 movq -32(%rax),%r13 |
| 650 movq -24(%rax),%r12 | 653 movq -24(%rax),%r12 |
| 651 movq -16(%rax),%rbp | 654 movq -16(%rax),%rbp |
| 652 movq -8(%rax),%rbx | 655 movq -8(%rax),%rbx |
| 653 leaq (%rax),%rsp | 656 leaq (%rax),%rsp |
| 654 L$mul_gather4_epilogue: | 657 L$mul_gather4_epilogue: |
| 655 .byte 0xf3,0xc3 | 658 .byte 0xf3,0xc3 |
| 656 | 659 |
| 657 .globl _rsaz_512_mul_scatter4 | 660 .globl _rsaz_512_mul_scatter4 |
| 661 .private_extern _rsaz_512_mul_scatter4 |
| 658 | 662 |
| 659 .p2align 5 | 663 .p2align 5 |
| 660 _rsaz_512_mul_scatter4: | 664 _rsaz_512_mul_scatter4: |
| 661 pushq %rbx | 665 pushq %rbx |
| 662 pushq %rbp | 666 pushq %rbp |
| 663 pushq %r12 | 667 pushq %r12 |
| 664 pushq %r13 | 668 pushq %r13 |
| 665 pushq %r14 | 669 pushq %r14 |
| 666 pushq %r15 | 670 pushq %r15 |
| 667 | 671 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 movq -40(%rax),%r14 | 738 movq -40(%rax),%r14 |
| 735 movq -32(%rax),%r13 | 739 movq -32(%rax),%r13 |
| 736 movq -24(%rax),%r12 | 740 movq -24(%rax),%r12 |
| 737 movq -16(%rax),%rbp | 741 movq -16(%rax),%rbp |
| 738 movq -8(%rax),%rbx | 742 movq -8(%rax),%rbx |
| 739 leaq (%rax),%rsp | 743 leaq (%rax),%rsp |
| 740 L$mul_scatter4_epilogue: | 744 L$mul_scatter4_epilogue: |
| 741 .byte 0xf3,0xc3 | 745 .byte 0xf3,0xc3 |
| 742 | 746 |
| 743 .globl _rsaz_512_mul_by_one | 747 .globl _rsaz_512_mul_by_one |
| 748 .private_extern _rsaz_512_mul_by_one |
| 744 | 749 |
| 745 .p2align 5 | 750 .p2align 5 |
| 746 _rsaz_512_mul_by_one: | 751 _rsaz_512_mul_by_one: |
| 747 pushq %rbx | 752 pushq %rbx |
| 748 pushq %rbp | 753 pushq %rbp |
| 749 pushq %r12 | 754 pushq %r12 |
| 750 pushq %r13 | 755 pushq %r13 |
| 751 pushq %r14 | 756 pushq %r14 |
| 752 pushq %r15 | 757 pushq %r15 |
| 753 | 758 |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1070 movq %r10,16(%rdi) | 1075 movq %r10,16(%rdi) |
| 1071 movq %r11,24(%rdi) | 1076 movq %r11,24(%rdi) |
| 1072 movq %r12,32(%rdi) | 1077 movq %r12,32(%rdi) |
| 1073 movq %r13,40(%rdi) | 1078 movq %r13,40(%rdi) |
| 1074 movq %r14,48(%rdi) | 1079 movq %r14,48(%rdi) |
| 1075 movq %r15,56(%rdi) | 1080 movq %r15,56(%rdi) |
| 1076 | 1081 |
| 1077 .byte 0xf3,0xc3 | 1082 .byte 0xf3,0xc3 |
| 1078 | 1083 |
| 1079 .globl _rsaz_512_scatter4 | 1084 .globl _rsaz_512_scatter4 |
| 1085 .private_extern _rsaz_512_scatter4 |
| 1080 | 1086 |
| 1081 .p2align 4 | 1087 .p2align 4 |
| 1082 _rsaz_512_scatter4: | 1088 _rsaz_512_scatter4: |
| 1083 leaq (%rdi,%rdx,4),%rdi | 1089 leaq (%rdi,%rdx,4),%rdi |
| 1084 movl $8,%r9d | 1090 movl $8,%r9d |
| 1085 jmp L$oop_scatter | 1091 jmp L$oop_scatter |
| 1086 .p2align 4 | 1092 .p2align 4 |
| 1087 L$oop_scatter: | 1093 L$oop_scatter: |
| 1088 movq (%rsi),%rax | 1094 movq (%rsi),%rax |
| 1089 leaq 8(%rsi),%rsi | 1095 leaq 8(%rsi),%rsi |
| 1090 movl %eax,(%rdi) | 1096 movl %eax,(%rdi) |
| 1091 shrq $32,%rax | 1097 shrq $32,%rax |
| 1092 movl %eax,64(%rdi) | 1098 movl %eax,64(%rdi) |
| 1093 leaq 128(%rdi),%rdi | 1099 leaq 128(%rdi),%rdi |
| 1094 decl %r9d | 1100 decl %r9d |
| 1095 jnz L$oop_scatter | 1101 jnz L$oop_scatter |
| 1096 .byte 0xf3,0xc3 | 1102 .byte 0xf3,0xc3 |
| 1097 | 1103 |
| 1098 | 1104 |
| 1099 .globl _rsaz_512_gather4 | 1105 .globl _rsaz_512_gather4 |
| 1106 .private_extern _rsaz_512_gather4 |
| 1100 | 1107 |
| 1101 .p2align 4 | 1108 .p2align 4 |
| 1102 _rsaz_512_gather4: | 1109 _rsaz_512_gather4: |
| 1103 leaq (%rsi,%rdx,4),%rsi | 1110 leaq (%rsi,%rdx,4),%rsi |
| 1104 movl $8,%r9d | 1111 movl $8,%r9d |
| 1105 jmp L$oop_gather | 1112 jmp L$oop_gather |
| 1106 .p2align 4 | 1113 .p2align 4 |
| 1107 L$oop_gather: | 1114 L$oop_gather: |
| 1108 movl (%rsi),%eax | 1115 movl (%rsi),%eax |
| 1109 movl 64(%rsi),%r8d | 1116 movl 64(%rsi),%r8d |
| 1110 leaq 128(%rsi),%rsi | 1117 leaq 128(%rsi),%rsi |
| 1111 shlq $32,%r8 | 1118 shlq $32,%r8 |
| 1112 orq %r8,%rax | 1119 orq %r8,%rax |
| 1113 movq %rax,(%rdi) | 1120 movq %rax,(%rdi) |
| 1114 leaq 8(%rdi),%rdi | 1121 leaq 8(%rdi),%rdi |
| 1115 decl %r9d | 1122 decl %r9d |
| 1116 jnz L$oop_gather | 1123 jnz L$oop_gather |
| 1117 .byte 0xf3,0xc3 | 1124 .byte 0xf3,0xc3 |
| 1118 | 1125 |
| 1119 #endif | 1126 #endif |
| OLD | NEW |