From owner-freebsd-current Fri May 14 15:34:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 50BB614CB6 for ; Fri, 14 May 1999 15:34:41 -0700 (PDT) (envelope-from peter.jeremy@auss2.alcatel.com.au) Received: by border.alcanet.com.au id <40359>; Sat, 15 May 1999 08:19:41 +1000 Date: Sat, 15 May 1999 08:34:33 +1000 From: Peter Jeremy Subject: Inlining ucmpdi2 et al To: current@FreeBSD.ORG Message-Id: <99May15.081941est.40359@border.alcanet.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A recent commit by "Justin T. Gibbs" : > 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