Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 1999 08:34:33 +1000
From:      Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
To:        current@FreeBSD.ORG
Subject:   Inlining ucmpdi2 et al
Message-ID:  <99May15.081941est.40359@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
A recent commit by  "Justin T. Gibbs" <gibbs@FreeBSD.org>:
>  Nuke ucmpdi2.c from i386/libkern to serve as a reminder that switch
>  statements on 64bit values generate poor code.

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

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

Peter


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?99May15.081941est.40359>