From owner-cvs-all@FreeBSD.ORG Fri Feb 22 10:04:54 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D6CC16A402; Fri, 22 Feb 2008 10:04:54 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DF60413C45D; Fri, 22 Feb 2008 10:04:53 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1MA4rqs077942; Fri, 22 Feb 2008 10:04:53 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1MA4rIn077941; Fri, 22 Feb 2008 10:04:53 GMT (envelope-from bde) Message-Id: <200802221004.m1MA4rIn077941@repoman.freebsd.org> From: Bruce Evans Date: Fri, 22 Feb 2008 10:04:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/msun/src s_rintl.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 10:04:54 -0000 bde 2008-02-22 10:04:53 UTC FreeBSD src repository Modified files: lib/msun/src s_rintl.c Log: Optimize the fixup for +-0 by using better classification for this case and by using a table lookup to avoid a branch when this case occurs. On i386, this saves 1-4 cycles out of about 64 for non-large args. Revision Changes Path 1.4 +4 -2 src/lib/msun/src/s_rintl.c