VirtualBox

Ignore:
Timestamp:
Nov 9, 2018 1:21:05 AM (6 years ago)
Author:
vboxsync
Message:

iprt/memcmp.asm: Now with watcom calling convention option, we must not clear EAX before we've set up the registers for cmpsd/q.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/memcmp.asm

    r75129 r75334  
    3535RT_NOCRT_BEGINPROC memcmp
    3636        cld
    37         xor     eax, eax
    3837
    3938        ; Do the bulk of the work.
     
    5049 %endif
    5150        shr     rcx, 3
     51        xor     eax, eax
    5252        repe cmpsq
    5353        jne     .not_equal_qword
     
    6969        jecxz   .done
    7070        shr     ecx, 2
     71        xor     eax, eax
    7172        repe cmpsd
    7273        jne     .not_equal_dword
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