Changeset 94083 in vbox for trunk/src/libs/openssl-3.0.1/crypto/genasm-elf/rsaz-x86_64.S
- Timestamp:
- Mar 3, 2022 7:43:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.1/crypto/genasm-elf/rsaz-x86_64.S
r83531 r94083 30 30 .cfi_adjust_cfa_offset 128+24 31 31 .Lsqr_body: 32 movq %rdx,%rbp 32 .byte 102,72,15,110,202 33 33 movq (%rsi),%rdx 34 34 movq 8(%rsi),%rax … … 41 41 42 42 movq %rdx,%rbx 43 movq %rax,%rbp 43 44 mulq %rdx 44 45 movq %rax,%r8 … … 79 80 addq %rax,%r14 80 81 movq %rbx,%rax 82 adcq $0,%rdx 83 84 xorq %rcx,%rcx 85 addq %r8,%r8 81 86 movq %rdx,%r15 82 adcq $0,%r15 83 84 addq %r8,%r8 85 movq %r9,%rcx 86 adcq %r9,%r9 87 adcq $0,%rcx 87 88 88 89 mulq %rax 90 addq %r8,%rdx 91 adcq $0,%rcx 92 89 93 movq %rax,(%rsp) 90 addq %rdx,%r8 91 adcq $0,%r9 92 93 movq %r8,8(%rsp) 94 shrq $63,%rcx 95 96 97 movq 8(%rsi),%r8 94 movq %rdx,8(%rsp) 95 96 98 97 movq 16(%rsi),%rax 99 mulq %r 898 mulq %rbp 100 99 addq %rax,%r10 101 100 movq 24(%rsi),%rax … … 103 102 adcq $0,%rbx 104 103 105 mulq %r 8104 mulq %rbp 106 105 addq %rax,%r11 107 106 movq 32(%rsi),%rax … … 111 110 adcq $0,%rbx 112 111 113 mulq %r 8112 mulq %rbp 114 113 addq %rax,%r12 115 114 movq 40(%rsi),%rax … … 119 118 adcq $0,%rbx 120 119 121 mulq %r 8120 mulq %rbp 122 121 addq %rax,%r13 123 122 movq 48(%rsi),%rax … … 127 126 adcq $0,%rbx 128 127 129 mulq %r 8128 mulq %rbp 130 129 addq %rax,%r14 131 130 movq 56(%rsi),%rax … … 135 134 adcq $0,%rbx 136 135 137 mulq %r 8136 mulq %rbp 138 137 addq %rax,%r15 139 movq %r 8,%rax138 movq %rbp,%rax 140 139 adcq $0,%rdx 141 140 addq %rbx,%r15 141 adcq $0,%rdx 142 143 xorq %rbx,%rbx 144 addq %r9,%r9 142 145 movq %rdx,%r8 143 movq %r10,%rdx 144 adcq $0,%r8 145 146 addq %rdx,%rdx 147 leaq (%rcx,%r10,2),%r10 148 movq %r11,%rbx 149 adcq %r11,%r11 146 adcq %r10,%r10 147 adcq $0,%rbx 150 148 151 149 mulq %rax 150 151 addq %rcx,%rax 152 movq 16(%rsi),%rbp 152 153 addq %rax,%r9 154 movq 24(%rsi),%rax 153 155 adcq %rdx,%r10 154 adcq $0,%r 11156 adcq $0,%rbx 155 157 156 158 movq %r9,16(%rsp) 157 159 movq %r10,24(%rsp) 158 shrq $63,%rbx 159 160 161 movq 16(%rsi),%r9 162 movq 24(%rsi),%rax 163 mulq %r9 160 161 162 mulq %rbp 164 163 addq %rax,%r12 165 164 movq 32(%rsi),%rax … … 167 166 adcq $0,%rcx 168 167 169 mulq %r 9168 mulq %rbp 170 169 addq %rax,%r13 171 170 movq 40(%rsi),%rax … … 175 174 adcq $0,%rcx 176 175 177 mulq %r 9176 mulq %rbp 178 177 addq %rax,%r14 179 178 movq 48(%rsi),%rax … … 183 182 adcq $0,%rcx 184 183 185 mulq %r9 186 movq %r12,%r10 187 leaq (%rbx,%r12,2),%r12 184 mulq %rbp 188 185 addq %rax,%r15 189 186 movq 56(%rsi),%rax … … 193 190 adcq $0,%rcx 194 191 195 mulq %r9 196 shrq $63,%r10 192 mulq %rbp 197 193 addq %rax,%r8 198 movq %r 9,%rax194 movq %rbp,%rax 199 195 adcq $0,%rdx 200 196 addq %rcx,%r8 197 adcq $0,%rdx 198 199 xorq %rcx,%rcx 200 addq %r11,%r11 201 201 movq %rdx,%r9 202 adcq $0,%r9 203 204 movq %r13,%rcx 205 leaq (%r10,%r13,2),%r13 202 adcq %r12,%r12 203 adcq $0,%rcx 206 204 207 205 mulq %rax 206 207 addq %rbx,%rax 208 movq 24(%rsi),%r10 208 209 addq %rax,%r11 210 movq 32(%rsi),%rax 209 211 adcq %rdx,%r12 210 adcq $0,%r 13212 adcq $0,%rcx 211 213 212 214 movq %r11,32(%rsp) 213 215 movq %r12,40(%rsp) 214 shrq $63,%rcx 215 216 217 movq 24(%rsi),%r10 218 movq 32(%rsi),%rax 216 217 218 movq %rax,%r11 219 219 mulq %r10 220 220 addq %rax,%r14 … … 223 223 adcq $0,%rbx 224 224 225 movq %rax,%r12 225 226 mulq %r10 226 227 addq %rax,%r15 … … 231 232 adcq $0,%rbx 232 233 234 movq %rax,%rbp 233 235 mulq %r10 234 movq %r14,%r12235 leaq (%rcx,%r14,2),%r14236 236 addq %rax,%r8 237 237 movq 56(%rsi),%rax … … 242 242 243 243 mulq %r10 244 shrq $63,%r12245 244 addq %rax,%r9 246 245 movq %r10,%rax 247 246 adcq $0,%rdx 248 247 addq %rbx,%r9 248 adcq $0,%rdx 249 250 xorq %rbx,%rbx 251 addq %r13,%r13 249 252 movq %rdx,%r10 250 adcq $0,%r10 251 252 movq %r15,%rbx 253 leaq (%r12,%r15,2),%r15 253 adcq %r14,%r14 254 adcq $0,%rbx 254 255 255 256 mulq %rax 257 258 addq %rcx,%rax 256 259 addq %rax,%r13 260 movq %r12,%rax 257 261 adcq %rdx,%r14 258 adcq $0,%r 15262 adcq $0,%rbx 259 263 260 264 movq %r13,48(%rsp) 261 265 movq %r14,56(%rsp) 262 shrq $63,%rbx 263 264 265 movq 32(%rsi),%r11 266 movq 40(%rsi),%rax 266 267 267 268 mulq %r11 268 269 addq %rax,%r8 269 movq 48(%rsi),%rax270 movq %rbp,%rax 270 271 movq %rdx,%rcx 271 272 adcq $0,%rcx … … 275 276 movq 56(%rsi),%rax 276 277 adcq $0,%rdx 277 movq %r8,%r12278 leaq (%rbx,%r8,2),%r8279 278 addq %rcx,%r9 280 279 movq %rdx,%rcx 281 280 adcq $0,%rcx 282 281 282 movq %rax,%r14 283 283 mulq %r11 284 shrq $63,%r12285 284 addq %rax,%r10 286 285 movq %r11,%rax 287 286 adcq $0,%rdx 288 287 addq %rcx,%r10 288 adcq $0,%rdx 289 290 xorq %rcx,%rcx 291 addq %r15,%r15 289 292 movq %rdx,%r11 290 adcq $0,%r11 291 292 movq %r9,%rcx 293 leaq (%r12,%r9,2),%r9 293 adcq %r8,%r8 294 adcq $0,%rcx 294 295 295 296 mulq %rax 297 298 addq %rbx,%rax 296 299 addq %rax,%r15 300 movq %rbp,%rax 297 301 adcq %rdx,%r8 298 adcq $0,%r 9302 adcq $0,%rcx 299 303 300 304 movq %r15,64(%rsp) 301 305 movq %r8,72(%rsp) 302 shrq $63,%rcx 303 304 305 movq 40(%rsi),%r12 306 movq 48(%rsi),%rax 306 307 307 308 mulq %r12 308 309 addq %rax,%r10 309 movq 56(%rsi),%rax310 movq %r14,%rax 310 311 movq %rdx,%rbx 311 312 adcq $0,%rbx … … 314 315 addq %rax,%r11 315 316 movq %r12,%rax 316 movq %r10,%r15 317 leaq (%rcx,%r10,2),%r10 318 adcq $0,%rdx 319 shrq $63,%r15 317 adcq $0,%rdx 320 318 addq %rbx,%r11 319 adcq $0,%rdx 320 321 xorq %rbx,%rbx 322 addq %r9,%r9 321 323 movq %rdx,%r12 322 adcq $0,%r12 323 324 movq %r11,%rbx 325 leaq (%r15,%r11,2),%r11 324 adcq %r10,%r10 325 adcq $0,%rbx 326 326 327 327 mulq %rax 328 329 addq %rcx,%rax 328 330 addq %rax,%r9 331 movq %r14,%rax 329 332 adcq %rdx,%r10 330 adcq $0,%r 11333 adcq $0,%rbx 331 334 332 335 movq %r9,80(%rsp) … … 334 337 335 338 336 movq 48(%rsi),%r13 337 movq 56(%rsi),%rax 338 mulq %r13 339 mulq %rbp 339 340 addq %rax,%r12 340 movq %r13,%rax 341 movq %rbp,%rax 342 adcq $0,%rdx 343 344 xorq %rcx,%rcx 345 addq %r11,%r11 341 346 movq %rdx,%r13 342 adcq $0,%r13343 344 xorq %r14,%r14345 shlq $1,%rbx346 347 adcq %r12,%r12 347 adcq %r13,%r13 348 adcq %r14,%r14 348 adcq $0,%rcx 349 349 350 350 mulq %rax 351 352 addq %rbx,%rax 351 353 addq %rax,%r11 354 movq %r14,%rax 352 355 adcq %rdx,%r12 353 adcq $0,%r 13356 adcq $0,%rcx 354 357 355 358 movq %r11,96(%rsp) … … 357 360 358 361 359 movq 56(%rsi),%rax 362 xorq %rbx,%rbx 363 addq %r13,%r13 364 adcq $0,%rbx 365 360 366 mulq %rax 361 addq %rax,%r13 362 adcq $0,%rdx 363 364 addq %rdx,%r14 365 366 movq %r13,112(%rsp) 367 movq %r14,120(%rsp) 367 368 addq %rcx,%rax 369 addq %r13,%rax 370 adcq %rbx,%rdx 368 371 369 372 movq (%rsp),%r8 … … 375 378 movq 48(%rsp),%r14 376 379 movq 56(%rsp),%r15 380 .byte 102,72,15,126,205 381 382 movq %rax,112(%rsp) 383 movq %rdx,120(%rsp) 377 384 378 385 call __rsaz_512_reduce … … 963 970 .align 32 964 971 __rsaz_512_reduce: 972 .cfi_startproc 965 973 movq %r8,%rbx 966 974 imulq 128+8(%rsp),%rbx … … 1042 1050 1043 1051 .byte 0xf3,0xc3 1052 .cfi_endproc 1044 1053 .size __rsaz_512_reduce,.-__rsaz_512_reduce 1045 1054 .type __rsaz_512_subtract,@function 1046 1055 .align 32 1047 1056 __rsaz_512_subtract: 1057 .cfi_startproc 1048 1058 movq %r8,(%rdi) 1049 1059 movq %r9,8(%rdi) … … 1099 1109 1100 1110 .byte 0xf3,0xc3 1111 .cfi_endproc 1101 1112 .size __rsaz_512_subtract,.-__rsaz_512_subtract 1102 1113 .type __rsaz_512_mul,@function 1103 1114 .align 32 1104 1115 __rsaz_512_mul: 1116 .cfi_startproc 1105 1117 leaq 8(%rsp),%rdi 1106 1118 … … 1241 1253 1242 1254 .byte 0xf3,0xc3 1255 .cfi_endproc 1243 1256 .size __rsaz_512_mul,.-__rsaz_512_mul 1244 1257 .globl rsaz_512_scatter4 … … 1246 1259 .align 16 1247 1260 rsaz_512_scatter4: 1261 .cfi_startproc 1248 1262 leaq (%rdi,%rdx,8),%rdi 1249 1263 movl $8,%r9d … … 1258 1272 jnz .Loop_scatter 1259 1273 .byte 0xf3,0xc3 1274 .cfi_endproc 1260 1275 .size rsaz_512_scatter4,.-rsaz_512_scatter4 1261 1276 … … 1264 1279 .align 16 1265 1280 rsaz_512_gather4: 1281 .cfi_startproc 1266 1282 movd %edx,%xmm8 1267 1283 movdqa .Linc+16(%rip),%xmm1 … … 1327 1343 .byte 0xf3,0xc3 1328 1344 .LSEH_end_rsaz_512_gather4: 1345 .cfi_endproc 1329 1346 .size rsaz_512_gather4,.-rsaz_512_gather4 1330 1347 … … 1333 1350 .long 0,0, 1,1 1334 1351 .long 2,2, 2,2 1352 .section .note.gnu.property, #alloc 1353 .p2align 3 1354 .long 1f - 0f 1355 .long 4f - 1f 1356 .long 5 1357 0: 1358 # "GNU" encoded with .byte, since .asciz isn't supported 1359 # on Solaris. 1360 .byte 0x47 1361 .byte 0x4e 1362 .byte 0x55 1363 .byte 0 1364 1: 1365 .p2align 3 1366 .long 0xc0000002 1367 .long 3f - 2f 1368 2: 1369 .long 3 1370 3: 1371 .p2align 3 1372 4:
Note:
See TracChangeset
for help on using the changeset viewer.