A recent commit by  "Justin T. Gibbs" <gi...@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 majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to