Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 1999 11:12:54 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.ORG, peter.jeremy@auss2.alcatel.com.au
Subject:   Re: Inlining ucmpdi2 et al
Message-ID:  <199905150112.LAA05294@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Looking thru libkern, many of the functions shouldn't be there since
>gcc should be generating in-line code.  I believe the following are
>(or should be) superfluous: adddi3.c anddi3.c ashldi3.c ashrdi3.c
>cmpdi2.c iordi3.c lshldi3.c lshrdi3.c negdi2.c notdi2.c subdi3.c
>ucmpdi2.c udivdi3.c umoddi3.c xordi3.c

We leave all these out (of files.i386) for i386's, but they might be
necessary for another arch, and *cmpdi2.c turn out to be not quite
superfluous.

>I know gcc-2.8.1 had a bug relating to cmpdi2.  It seems the fix didn't
>make it into egcs.

The one for comparison in 64-bit signed divisions seems to be fixed,
but there is another for 64-bit case comparisons.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905150112.LAA05294>