NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: lib/50887: __clzdi2 implementation in compile_rt incompatible with gcc



The following reply was made to PR lib/50887; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost
Subject: re: lib/50887: __clzdi2 implementation in compile_rt incompatible with gcc
Date: Fri, 04 Mar 2016 18:06:46 +1100

 this is what my netbsd-7 system has in libgcc_so.  what happened
 to break it?
 
 
 .mrg.
 
 
 000000000000e400 <__clzdi2>:
     e400:       9d e3 bf 50     save  %sp, -176, %sp
     e404:       82 10 20 38     mov  0x38, %g1
     e408:       2f 00 04 0a     sethi  %hi(0x102800), %l7
     e40c:       40 00 03 4d     call  f140 <__sparc_get_pc_thunk.l7>
     e410:       ae 05 e2 4c     add  %l7, 0x24c, %l7    ! 102a4c <__clz_ta=
 b+0xf36b4>
     e414:       85 36 10 01     srlx  %i0, %g1, %g2
     e418:       86 08 a0 ff     and  %g2, 0xff, %g3
     e41c:       0a c0 c0 0e     brnz,pn   %g3, e454 <__clzdi2+0x54>
     e420:       07 00 00 00     sethi  %hi(0), %g3
     e424:       82 00 7f f8     add  %g1, -8, %g1
     e428:       0a f8 7f fc     brnz  %g1, e418 <__clzdi2+0x18>
     e42c:       85 36 10 01     srlx  %i0, %g1, %g2
     e430:       07 00 00 00     sethi  %hi(0), %g3
     e434:       84 10 00 18     mov  %i0, %g2
     e438:       86 10 e2 a0     or  %g3, 0x2a0, %g3
     e43c:       b0 10 20 40     mov  0x40, %i0
     e440:       c6 5d c0 03     ldx  [ %l7 + %g3 ], %g3
     e444:       c4 08 c0 02     ldub  [ %g3 + %g2 ], %g2
     e448:       b0 26 00 02     sub  %i0, %g2, %i0
     e44c:       81 cf e0 08     rett  %i7 + 8
     e450:       91 3a 20 00     sra  %o0, 0, %o0
     e454:       b0 10 20 40     mov  0x40, %i0
     e458:       86 10 e2 a0     or  %g3, 0x2a0, %g3
     e45c:       b0 26 00 01     sub  %i0, %g1, %i0
     e460:       c6 5d c0 03     ldx  [ %l7 + %g3 ], %g3
     e464:       c4 08 c0 02     ldub  [ %g3 + %g2 ], %g2
     e468:       b0 26 00 02     sub  %i0, %g2, %i0
     e46c:       81 cf e0 08     rett  %i7 + 8
     e470:       91 3a 20 00     sra  %o0, 0, %o0
     e474:       30 68 00 03     b,a   %xcc, e480 <__ffsti2>
     e478:       01 00 00 00     nop
 


Home | Main Index | Thread Index | Old Index