Changeset 96373 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Aug 20, 2022 3:08:08 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 153190
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/wcslen.asm
r96336 r96373 31 31 ;; 32 32 ; @param psz gcc: rdi msc: rcx x86: [esp+4] wcall: eax 33 RT_NOCRT_BEGINPROC strlen33 RT_NOCRT_BEGINPROC wcslen 34 34 cld 35 35 %ifdef RT_ARCH_AMD64 … … 50 50 mov xCX, -1 51 51 xor eax, eax 52 repne scas b52 repne scasw 53 53 54 54 ; found it 55 55 neg xCX 56 56 lea xAX, [xCX - 2] 57 shr xCX, 1 57 58 %ifdef ASM_CALL64_MSC 58 59 mov rdi, r9 59 %endif 60 %ifdef RT_ARCH_X86 60 %elifdef RT_ARCH_X86 61 61 mov edi, edx 62 62 %endif 63 63 ret 64 ENDPROC RT_NOCRT( strlen)64 ENDPROC RT_NOCRT(wcslen) 65 65
Note:
See TracChangeset
for help on using the changeset viewer.