On Tue, Jan 27, 2015 at 1:28 PM, Tim Hentenaar <t...@hentenaar.com> wrote:
>         call    monotonic_sec   #
>         movl    24(%rsp), %ecx  # %sfp, D.9844
>         movl    52+bb_common_bufsiz1(%rip), %r14d       # MEM[(struct 
> server_config_t * {ref-all})&bb_common_bufsiz1].auto_time,
>         movq    $0, 88(%rsp)    #, tv.tv_usec
>         subl    %eax, %ecx      # D.9836, D.9844
>         testl   %r14d, %r14d    #
>         movq    %rcx, 80(%rsp)  # D.9844, tv.tv_sec
>         je      .L88    #,
>         testq   %rcx, %rcx      # D.9844
>         je      .L179   #,
>         leaq    80(%rsp), %r8   #, iftmp.12
>         jmp     .L87    #
>
> Are you using a 32-bit x86 arch? If not, what do you get if you compile
> it in 64-bit mode?

With gcc 4.7.2:

        call    udhcp_sp_fd_set #
        cmpl    $0, bb_common_bufsiz1+52(%rip)  #, MEM[(struct
server_config_t * {ref-all})&bb_common_bufsiz1].auto_time
        movl    %eax, %ebx      #, max_sock
        je      .L71    #,
        call    monotonic_sec   #
        movl    24(%rsp), %edx  # %sfp,
        movq    $0, 56(%rsp)    #, tv.tv_usec
        subl    %eax, %edx      # D.8343,
        movl    %edx, %eax      #,
        movq    %rax, 48(%rsp)  #, tv.tv_sec
.L71:
        xorl    %r8d, %r8d      # iftmp.11
        cmpl    $0, bb_common_bufsiz1+52(%rip)  #, MEM[(struct
server_config_t * {ref-all})&bb_common_bufsiz1].auto_time
        je      .L72    #,
        cmpq    $0, 48(%rsp)    #, tv.tv_sec
        jg      .L110   #,
        jmp     .L166   #
.L110:
        leaq    48(%rsp), %r8   #, iftmp.11
.L72:
        leal    1(%rbx), %edi   #, tmp216
        leaq    104(%rsp), %rsi #,
        xorl    %ecx, %ecx      #
        xorl    %edx, %edx      #
        call    select  #
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to