lkml.org 
[lkml]   [2009]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [2.6.30-rc8] gcc 3.3 : __udivdi3 undefined.
    From
    Date
    Andreas Herrmann wrote:
    > Overlooked the 64-bit division.
    > Did test this with 4.[23].x compilers on 32-bit which didn't complain ...

    gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) generated below code.

    .loc 1 51 0
    movl -48(%ebp), %eax # start.1059,
    movl -44(%ebp), %edx # start.1059,
    addl -24(%ebp), %eax # size,
    adcl -20(%ebp), %edx # size,
    movl %eax, -56(%ebp) #, count
    movl %edx, -52(%ebp) #, count
    subl %ebx, -56(%ebp) # last_bad.1061, count
    .LVL28:
    sbbl %esi, -52(%ebp) # last_bad.1061, count
    movl -56(%ebp), %edx # count,
    movl -52(%ebp), %ecx # count,
    shrdl $3, %ecx, %edx #,,
    shrl $3, %ecx #,
    movl %edx, -56(%ebp) #, count
    movl %ecx, -52(%ebp) #, count

    It seems that only gcc 3.x genarates "call __udivdi3" ...


    \
     
     \ /
      Last update: 2009-06-05 15:01    [W:0.021 / U:30.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site