Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "test.cpp"
- .intel_syntax noprefix
- .text
- .globl _Z5Fill1Phi
- .type _Z5Fill1Phi, @function
- _Z5Fill1Phi:
- .LFB0:
- .cfi_startproc
- push ebx
- .cfi_def_cfa_offset 8
- .cfi_offset 3, -8
- mov ebx, DWORD PTR [esp+8]
- mov ecx, DWORD PTR [esp+12]
- test ecx, ecx
- jle .L1
- mov edx, 0
- mov eax, 1
- .L3:
- lea eax, [eax+1+eax*4]
- mov BYTE PTR [ebx+edx], al
- add edx, 1
- cmp edx, ecx
- jne .L3
- .L1:
- pop ebx
- .cfi_def_cfa_offset 4
- .cfi_restore 3
- ret
- .cfi_endproc
- .LFE0:
- .size _Z5Fill1Phi, .-_Z5Fill1Phi
- .ident "GCC: (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3"
- .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement