VirtualBox

Ignore:
Timestamp:
Mar 3, 2022 7:43:34 PM (3 years ago)
Author:
vboxsync
Message:

libs/openssl-3.0.1: Recreate asm files, bugref:10128

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-3.0.1/crypto/genasm-elf/rsaz-x86_64.S

    r83531 r94083  
    3030.cfi_adjust_cfa_offset  128+24
    3131.Lsqr_body:
    32         movq    %rdx,%rbp
     32.byte   102,72,15,110,202
    3333        movq    (%rsi),%rdx
    3434        movq    8(%rsi),%rax
     
    4141
    4242        movq    %rdx,%rbx
     43        movq    %rax,%rbp
    4344        mulq    %rdx
    4445        movq    %rax,%r8
     
    7980        addq    %rax,%r14
    8081        movq    %rbx,%rax
     82        adcq    $0,%rdx
     83
     84        xorq    %rcx,%rcx
     85        addq    %r8,%r8
    8186        movq    %rdx,%r15
    82         adcq    $0,%r15
    83 
    84         addq    %r8,%r8
    85         movq    %r9,%rcx
    86         adcq    %r9,%r9
     87        adcq    $0,%rcx
    8788
    8889        mulq    %rax
     90        addq    %r8,%rdx
     91        adcq    $0,%rcx
     92
    8993        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
    9897        movq    16(%rsi),%rax
    99         mulq    %r8
     98        mulq    %rbp
    10099        addq    %rax,%r10
    101100        movq    24(%rsi),%rax
     
    103102        adcq    $0,%rbx
    104103
    105         mulq    %r8
     104        mulq    %rbp
    106105        addq    %rax,%r11
    107106        movq    32(%rsi),%rax
     
    111110        adcq    $0,%rbx
    112111
    113         mulq    %r8
     112        mulq    %rbp
    114113        addq    %rax,%r12
    115114        movq    40(%rsi),%rax
     
    119118        adcq    $0,%rbx
    120119
    121         mulq    %r8
     120        mulq    %rbp
    122121        addq    %rax,%r13
    123122        movq    48(%rsi),%rax
     
    127126        adcq    $0,%rbx
    128127
    129         mulq    %r8
     128        mulq    %rbp
    130129        addq    %rax,%r14
    131130        movq    56(%rsi),%rax
     
    135134        adcq    $0,%rbx
    136135
    137         mulq    %r8
     136        mulq    %rbp
    138137        addq    %rax,%r15
    139         movq    %r8,%rax
     138        movq    %rbp,%rax
    140139        adcq    $0,%rdx
    141140        addq    %rbx,%r15
     141        adcq    $0,%rdx
     142
     143        xorq    %rbx,%rbx
     144        addq    %r9,%r9
    142145        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
    150148
    151149        mulq    %rax
     150
     151        addq    %rcx,%rax
     152        movq    16(%rsi),%rbp
    152153        addq    %rax,%r9
     154        movq    24(%rsi),%rax
    153155        adcq    %rdx,%r10
    154         adcq    $0,%r11
     156        adcq    $0,%rbx
    155157
    156158        movq    %r9,16(%rsp)
    157159        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
    164163        addq    %rax,%r12
    165164        movq    32(%rsi),%rax
     
    167166        adcq    $0,%rcx
    168167
    169         mulq    %r9
     168        mulq    %rbp
    170169        addq    %rax,%r13
    171170        movq    40(%rsi),%rax
     
    175174        adcq    $0,%rcx
    176175
    177         mulq    %r9
     176        mulq    %rbp
    178177        addq    %rax,%r14
    179178        movq    48(%rsi),%rax
     
    183182        adcq    $0,%rcx
    184183
    185         mulq    %r9
    186         movq    %r12,%r10
    187         leaq    (%rbx,%r12,2),%r12
     184        mulq    %rbp
    188185        addq    %rax,%r15
    189186        movq    56(%rsi),%rax
     
    193190        adcq    $0,%rcx
    194191
    195         mulq    %r9
    196         shrq    $63,%r10
     192        mulq    %rbp
    197193        addq    %rax,%r8
    198         movq    %r9,%rax
     194        movq    %rbp,%rax
    199195        adcq    $0,%rdx
    200196        addq    %rcx,%r8
     197        adcq    $0,%rdx
     198
     199        xorq    %rcx,%rcx
     200        addq    %r11,%r11
    201201        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
    206204
    207205        mulq    %rax
     206
     207        addq    %rbx,%rax
     208        movq    24(%rsi),%r10
    208209        addq    %rax,%r11
     210        movq    32(%rsi),%rax
    209211        adcq    %rdx,%r12
    210         adcq    $0,%r13
     212        adcq    $0,%rcx
    211213
    212214        movq    %r11,32(%rsp)
    213215        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
    219219        mulq    %r10
    220220        addq    %rax,%r14
     
    223223        adcq    $0,%rbx
    224224
     225        movq    %rax,%r12
    225226        mulq    %r10
    226227        addq    %rax,%r15
     
    231232        adcq    $0,%rbx
    232233
     234        movq    %rax,%rbp
    233235        mulq    %r10
    234         movq    %r14,%r12
    235         leaq    (%rcx,%r14,2),%r14
    236236        addq    %rax,%r8
    237237        movq    56(%rsi),%rax
     
    242242
    243243        mulq    %r10
    244         shrq    $63,%r12
    245244        addq    %rax,%r9
    246245        movq    %r10,%rax
    247246        adcq    $0,%rdx
    248247        addq    %rbx,%r9
     248        adcq    $0,%rdx
     249
     250        xorq    %rbx,%rbx
     251        addq    %r13,%r13
    249252        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
    254255
    255256        mulq    %rax
     257
     258        addq    %rcx,%rax
    256259        addq    %rax,%r13
     260        movq    %r12,%rax
    257261        adcq    %rdx,%r14
    258         adcq    $0,%r15
     262        adcq    $0,%rbx
    259263
    260264        movq    %r13,48(%rsp)
    261265        movq    %r14,56(%rsp)
    262         shrq    $63,%rbx
    263 
    264 
    265         movq    32(%rsi),%r11
    266         movq    40(%rsi),%rax
     266
     267
    267268        mulq    %r11
    268269        addq    %rax,%r8
    269         movq    48(%rsi),%rax
     270        movq    %rbp,%rax
    270271        movq    %rdx,%rcx
    271272        adcq    $0,%rcx
     
    275276        movq    56(%rsi),%rax
    276277        adcq    $0,%rdx
    277         movq    %r8,%r12
    278         leaq    (%rbx,%r8,2),%r8
    279278        addq    %rcx,%r9
    280279        movq    %rdx,%rcx
    281280        adcq    $0,%rcx
    282281
     282        movq    %rax,%r14
    283283        mulq    %r11
    284         shrq    $63,%r12
    285284        addq    %rax,%r10
    286285        movq    %r11,%rax
    287286        adcq    $0,%rdx
    288287        addq    %rcx,%r10
     288        adcq    $0,%rdx
     289
     290        xorq    %rcx,%rcx
     291        addq    %r15,%r15
    289292        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
    294295
    295296        mulq    %rax
     297
     298        addq    %rbx,%rax
    296299        addq    %rax,%r15
     300        movq    %rbp,%rax
    297301        adcq    %rdx,%r8
    298         adcq    $0,%r9
     302        adcq    $0,%rcx
    299303
    300304        movq    %r15,64(%rsp)
    301305        movq    %r8,72(%rsp)
    302         shrq    $63,%rcx
    303 
    304 
    305         movq    40(%rsi),%r12
    306         movq    48(%rsi),%rax
     306
     307
    307308        mulq    %r12
    308309        addq    %rax,%r10
    309         movq    56(%rsi),%rax
     310        movq    %r14,%rax
    310311        movq    %rdx,%rbx
    311312        adcq    $0,%rbx
     
    314315        addq    %rax,%r11
    315316        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
    320318        addq    %rbx,%r11
     319        adcq    $0,%rdx
     320
     321        xorq    %rbx,%rbx
     322        addq    %r9,%r9
    321323        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
    326326
    327327        mulq    %rax
     328
     329        addq    %rcx,%rax
    328330        addq    %rax,%r9
     331        movq    %r14,%rax
    329332        adcq    %rdx,%r10
    330         adcq    $0,%r11
     333        adcq    $0,%rbx
    331334
    332335        movq    %r9,80(%rsp)
     
    334337
    335338
    336         movq    48(%rsi),%r13
    337         movq    56(%rsi),%rax
    338         mulq    %r13
     339        mulq    %rbp
    339340        addq    %rax,%r12
    340         movq    %r13,%rax
     341        movq    %rbp,%rax
     342        adcq    $0,%rdx
     343
     344        xorq    %rcx,%rcx
     345        addq    %r11,%r11
    341346        movq    %rdx,%r13
    342         adcq    $0,%r13
    343 
    344         xorq    %r14,%r14
    345         shlq    $1,%rbx
    346347        adcq    %r12,%r12
    347         adcq    %r13,%r13
    348         adcq    %r14,%r14
     348        adcq    $0,%rcx
    349349
    350350        mulq    %rax
     351
     352        addq    %rbx,%rax
    351353        addq    %rax,%r11
     354        movq    %r14,%rax
    352355        adcq    %rdx,%r12
    353         adcq    $0,%r13
     356        adcq    $0,%rcx
    354357
    355358        movq    %r11,96(%rsp)
     
    357360
    358361
    359         movq    56(%rsi),%rax
     362        xorq    %rbx,%rbx
     363        addq    %r13,%r13
     364        adcq    $0,%rbx
     365
    360366        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
    368371
    369372        movq    (%rsp),%r8
     
    375378        movq    48(%rsp),%r14
    376379        movq    56(%rsp),%r15
     380.byte   102,72,15,126,205
     381
     382        movq    %rax,112(%rsp)
     383        movq    %rdx,120(%rsp)
    377384
    378385        call    __rsaz_512_reduce
     
    963970.align  32
    964971__rsaz_512_reduce:
     972.cfi_startproc 
    965973        movq    %r8,%rbx
    966974        imulq   128+8(%rsp),%rbx
     
    10421050
    10431051        .byte   0xf3,0xc3
     1052.cfi_endproc   
    10441053.size   __rsaz_512_reduce,.-__rsaz_512_reduce
    10451054.type   __rsaz_512_subtract,@function
    10461055.align  32
    10471056__rsaz_512_subtract:
     1057.cfi_startproc 
    10481058        movq    %r8,(%rdi)
    10491059        movq    %r9,8(%rdi)
     
    10991109
    11001110        .byte   0xf3,0xc3
     1111.cfi_endproc   
    11011112.size   __rsaz_512_subtract,.-__rsaz_512_subtract
    11021113.type   __rsaz_512_mul,@function
    11031114.align  32
    11041115__rsaz_512_mul:
     1116.cfi_startproc 
    11051117        leaq    8(%rsp),%rdi
    11061118
     
    12411253
    12421254        .byte   0xf3,0xc3
     1255.cfi_endproc   
    12431256.size   __rsaz_512_mul,.-__rsaz_512_mul
    12441257.globl  rsaz_512_scatter4
     
    12461259.align  16
    12471260rsaz_512_scatter4:
     1261.cfi_startproc 
    12481262        leaq    (%rdi,%rdx,8),%rdi
    12491263        movl    $8,%r9d
     
    12581272        jnz     .Loop_scatter
    12591273        .byte   0xf3,0xc3
     1274.cfi_endproc   
    12601275.size   rsaz_512_scatter4,.-rsaz_512_scatter4
    12611276
     
    12641279.align  16
    12651280rsaz_512_gather4:
     1281.cfi_startproc 
    12661282        movd    %edx,%xmm8
    12671283        movdqa  .Linc+16(%rip),%xmm1
     
    13271343        .byte   0xf3,0xc3
    13281344.LSEH_end_rsaz_512_gather4:
     1345.cfi_endproc   
    13291346.size   rsaz_512_gather4,.-rsaz_512_gather4
    13301347
     
    13331350.long   0,0, 1,1
    13341351.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
     13570:
     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
     13641:
     1365        .p2align 3
     1366        .long 0xc0000002
     1367        .long 3f - 2f
     13682:
     1369        .long 3
     13703:
     1371        .p2align 3
     13724:
Note: See TracChangeset for help on using the changeset viewer.

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