| OLD | NEW |
| 1 #if defined(__i386__) | 1 #if defined(__i386__) |
| 2 .file "ghash-x86.S" | 2 .file "ghash-x86.S" |
| 3 .text | 3 .text |
| 4 .globl gcm_gmult_4bit_x86 | 4 .globl gcm_gmult_4bit_x86 |
| 5 .hidden gcm_gmult_4bit_x86 |
| 5 .type gcm_gmult_4bit_x86,@function | 6 .type gcm_gmult_4bit_x86,@function |
| 6 .align 16 | 7 .align 16 |
| 7 gcm_gmult_4bit_x86: | 8 gcm_gmult_4bit_x86: |
| 8 .L_gcm_gmult_4bit_x86_begin: | 9 .L_gcm_gmult_4bit_x86_begin: |
| 9 pushl %ebp | 10 pushl %ebp |
| 10 pushl %ebx | 11 pushl %ebx |
| 11 pushl %esi | 12 pushl %esi |
| 12 pushl %edi | 13 pushl %edi |
| 13 subl $84,%esp | 14 subl $84,%esp |
| 14 movl 104(%esp),%edi | 15 movl 104(%esp),%edi |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 movl %edx,4(%edi) | 90 movl %edx,4(%edi) |
| 90 movl %ebp,(%edi) | 91 movl %ebp,(%edi) |
| 91 addl $84,%esp | 92 addl $84,%esp |
| 92 popl %edi | 93 popl %edi |
| 93 popl %esi | 94 popl %esi |
| 94 popl %ebx | 95 popl %ebx |
| 95 popl %ebp | 96 popl %ebp |
| 96 ret | 97 ret |
| 97 .size gcm_gmult_4bit_x86,.-.L_gcm_gmult_4bit_x86_begin | 98 .size gcm_gmult_4bit_x86,.-.L_gcm_gmult_4bit_x86_begin |
| 98 .globl gcm_ghash_4bit_x86 | 99 .globl gcm_ghash_4bit_x86 |
| 100 .hidden gcm_ghash_4bit_x86 |
| 99 .type gcm_ghash_4bit_x86,@function | 101 .type gcm_ghash_4bit_x86,@function |
| 100 .align 16 | 102 .align 16 |
| 101 gcm_ghash_4bit_x86: | 103 gcm_ghash_4bit_x86: |
| 102 .L_gcm_ghash_4bit_x86_begin: | 104 .L_gcm_ghash_4bit_x86_begin: |
| 103 pushl %ebp | 105 pushl %ebp |
| 104 pushl %ebx | 106 pushl %ebx |
| 105 pushl %esi | 107 pushl %esi |
| 106 pushl %edi | 108 pushl %edi |
| 107 subl $84,%esp | 109 subl $84,%esp |
| 108 movl 104(%esp),%ebx | 110 movl 104(%esp),%ebx |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 movl %edx,4(%edi) | 200 movl %edx,4(%edi) |
| 199 movl %ebp,(%edi) | 201 movl %ebp,(%edi) |
| 200 addl $84,%esp | 202 addl $84,%esp |
| 201 popl %edi | 203 popl %edi |
| 202 popl %esi | 204 popl %esi |
| 203 popl %ebx | 205 popl %ebx |
| 204 popl %ebp | 206 popl %ebp |
| 205 ret | 207 ret |
| 206 .size gcm_ghash_4bit_x86,.-.L_gcm_ghash_4bit_x86_begin | 208 .size gcm_ghash_4bit_x86,.-.L_gcm_ghash_4bit_x86_begin |
| 207 .globl gcm_gmult_4bit_mmx | 209 .globl gcm_gmult_4bit_mmx |
| 210 .hidden gcm_gmult_4bit_mmx |
| 208 .type gcm_gmult_4bit_mmx,@function | 211 .type gcm_gmult_4bit_mmx,@function |
| 209 .align 16 | 212 .align 16 |
| 210 gcm_gmult_4bit_mmx: | 213 gcm_gmult_4bit_mmx: |
| 211 .L_gcm_gmult_4bit_mmx_begin: | 214 .L_gcm_gmult_4bit_mmx_begin: |
| 212 pushl %ebp | 215 pushl %ebp |
| 213 pushl %ebx | 216 pushl %ebx |
| 214 pushl %esi | 217 pushl %esi |
| 215 pushl %edi | 218 pushl %edi |
| 216 movl 20(%esp),%edi | 219 movl 20(%esp),%edi |
| 217 movl 24(%esp),%esi | 220 movl 24(%esp),%esi |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 movl %edx,4(%edi) | 300 movl %edx,4(%edi) |
| 298 movl %ecx,8(%edi) | 301 movl %ecx,8(%edi) |
| 299 movl %ebp,(%edi) | 302 movl %ebp,(%edi) |
| 300 popl %edi | 303 popl %edi |
| 301 popl %esi | 304 popl %esi |
| 302 popl %ebx | 305 popl %ebx |
| 303 popl %ebp | 306 popl %ebp |
| 304 ret | 307 ret |
| 305 .size gcm_gmult_4bit_mmx,.-.L_gcm_gmult_4bit_mmx_begin | 308 .size gcm_gmult_4bit_mmx,.-.L_gcm_gmult_4bit_mmx_begin |
| 306 .globl gcm_ghash_4bit_mmx | 309 .globl gcm_ghash_4bit_mmx |
| 310 .hidden gcm_ghash_4bit_mmx |
| 307 .type gcm_ghash_4bit_mmx,@function | 311 .type gcm_ghash_4bit_mmx,@function |
| 308 .align 16 | 312 .align 16 |
| 309 gcm_ghash_4bit_mmx: | 313 gcm_ghash_4bit_mmx: |
| 310 .L_gcm_ghash_4bit_mmx_begin: | 314 .L_gcm_ghash_4bit_mmx_begin: |
| 311 pushl %ebp | 315 pushl %ebp |
| 312 pushl %ebx | 316 pushl %ebx |
| 313 pushl %esi | 317 pushl %esi |
| 314 pushl %edi | 318 pushl %edi |
| 315 movl 20(%esp),%eax | 319 movl 20(%esp),%eax |
| 316 movl 24(%esp),%ebx | 320 movl 24(%esp),%ebx |
| (...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 movq %mm6,(%eax) | 905 movq %mm6,(%eax) |
| 902 movl 556(%esp),%esp | 906 movl 556(%esp),%esp |
| 903 emms | 907 emms |
| 904 popl %edi | 908 popl %edi |
| 905 popl %esi | 909 popl %esi |
| 906 popl %ebx | 910 popl %ebx |
| 907 popl %ebp | 911 popl %ebp |
| 908 ret | 912 ret |
| 909 .size gcm_ghash_4bit_mmx,.-.L_gcm_ghash_4bit_mmx_begin | 913 .size gcm_ghash_4bit_mmx,.-.L_gcm_ghash_4bit_mmx_begin |
| 910 .globl gcm_init_clmul | 914 .globl gcm_init_clmul |
| 915 .hidden gcm_init_clmul |
| 911 .type gcm_init_clmul,@function | 916 .type gcm_init_clmul,@function |
| 912 .align 16 | 917 .align 16 |
| 913 gcm_init_clmul: | 918 gcm_init_clmul: |
| 914 .L_gcm_init_clmul_begin: | 919 .L_gcm_init_clmul_begin: |
| 915 movl 4(%esp),%edx | 920 movl 4(%esp),%edx |
| 916 movl 8(%esp),%eax | 921 movl 8(%esp),%eax |
| 917 call .L010pic | 922 call .L010pic |
| 918 .L010pic: | 923 .L010pic: |
| 919 popl %ecx | 924 popl %ecx |
| 920 leal .Lbswap-.L010pic(%ecx),%ecx | 925 leal .Lbswap-.L010pic(%ecx),%ecx |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 pshufd $78,%xmm0,%xmm4 | 975 pshufd $78,%xmm0,%xmm4 |
| 971 pxor %xmm2,%xmm3 | 976 pxor %xmm2,%xmm3 |
| 972 movdqu %xmm2,(%edx) | 977 movdqu %xmm2,(%edx) |
| 973 pxor %xmm0,%xmm4 | 978 pxor %xmm0,%xmm4 |
| 974 movdqu %xmm0,16(%edx) | 979 movdqu %xmm0,16(%edx) |
| 975 .byte 102,15,58,15,227,8 | 980 .byte 102,15,58,15,227,8 |
| 976 movdqu %xmm4,32(%edx) | 981 movdqu %xmm4,32(%edx) |
| 977 ret | 982 ret |
| 978 .size gcm_init_clmul,.-.L_gcm_init_clmul_begin | 983 .size gcm_init_clmul,.-.L_gcm_init_clmul_begin |
| 979 .globl gcm_gmult_clmul | 984 .globl gcm_gmult_clmul |
| 985 .hidden gcm_gmult_clmul |
| 980 .type gcm_gmult_clmul,@function | 986 .type gcm_gmult_clmul,@function |
| 981 .align 16 | 987 .align 16 |
| 982 gcm_gmult_clmul: | 988 gcm_gmult_clmul: |
| 983 .L_gcm_gmult_clmul_begin: | 989 .L_gcm_gmult_clmul_begin: |
| 984 movl 4(%esp),%eax | 990 movl 4(%esp),%eax |
| 985 movl 8(%esp),%edx | 991 movl 8(%esp),%edx |
| 986 call .L011pic | 992 call .L011pic |
| 987 .L011pic: | 993 .L011pic: |
| 988 popl %ecx | 994 popl %ecx |
| 989 leal .Lbswap-.L011pic(%ecx),%ecx | 995 leal .Lbswap-.L011pic(%ecx),%ecx |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1023 pxor %xmm0,%xmm4 | 1029 pxor %xmm0,%xmm4 |
| 1024 psrlq $5,%xmm0 | 1030 psrlq $5,%xmm0 |
| 1025 pxor %xmm4,%xmm0 | 1031 pxor %xmm4,%xmm0 |
| 1026 psrlq $1,%xmm0 | 1032 psrlq $1,%xmm0 |
| 1027 pxor %xmm1,%xmm0 | 1033 pxor %xmm1,%xmm0 |
| 1028 .byte 102,15,56,0,197 | 1034 .byte 102,15,56,0,197 |
| 1029 movdqu %xmm0,(%eax) | 1035 movdqu %xmm0,(%eax) |
| 1030 ret | 1036 ret |
| 1031 .size gcm_gmult_clmul,.-.L_gcm_gmult_clmul_begin | 1037 .size gcm_gmult_clmul,.-.L_gcm_gmult_clmul_begin |
| 1032 .globl gcm_ghash_clmul | 1038 .globl gcm_ghash_clmul |
| 1039 .hidden gcm_ghash_clmul |
| 1033 .type gcm_ghash_clmul,@function | 1040 .type gcm_ghash_clmul,@function |
| 1034 .align 16 | 1041 .align 16 |
| 1035 gcm_ghash_clmul: | 1042 gcm_ghash_clmul: |
| 1036 .L_gcm_ghash_clmul_begin: | 1043 .L_gcm_ghash_clmul_begin: |
| 1037 pushl %ebp | 1044 pushl %ebp |
| 1038 pushl %ebx | 1045 pushl %ebx |
| 1039 pushl %esi | 1046 pushl %esi |
| 1040 pushl %edi | 1047 pushl %edi |
| 1041 movl 20(%esp),%eax | 1048 movl 20(%esp),%eax |
| 1042 movl 24(%esp),%edx | 1049 movl 24(%esp),%edx |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1258 .Lrem_4bit: | 1265 .Lrem_4bit: |
| 1259 .long 0,0,0,471859200,0,943718400,0,610271232 | 1266 .long 0,0,0,471859200,0,943718400,0,610271232 |
| 1260 .long 0,1887436800,0,1822425088,0,1220542464,0,1423966208 | 1267 .long 0,1887436800,0,1822425088,0,1220542464,0,1423966208 |
| 1261 .long 0,3774873600,0,4246732800,0,3644850176,0,3311403008 | 1268 .long 0,3774873600,0,4246732800,0,3644850176,0,3311403008 |
| 1262 .long 0,2441084928,0,2376073216,0,2847932416,0,3051356160 | 1269 .long 0,2441084928,0,2376073216,0,2847932416,0,3051356160 |
| 1263 .byte 71,72,65,83,72,32,102,111,114,32,120,56,54,44,32,67 | 1270 .byte 71,72,65,83,72,32,102,111,114,32,120,56,54,44,32,67 |
| 1264 .byte 82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112 | 1271 .byte 82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112 |
| 1265 .byte 112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62 | 1272 .byte 112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62 |
| 1266 .byte 0 | 1273 .byte 0 |
| 1267 #endif | 1274 #endif |
| OLD | NEW |