From owner-cvs-all@FreeBSD.ORG Wed Apr 4 19:54:57 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49E6A16A402; Wed, 4 Apr 2007 19:54:57 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id CDDD013C44B; Wed, 4 Apr 2007 19:54:56 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l34JspZ2099279; Wed, 4 Apr 2007 15:54:51 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: src-committers@FreeBSD.org Date: Wed, 4 Apr 2007 15:54:46 -0400 User-Agent: KMail/1.6.2 References: <200704040119.l341JsQ1083798@repoman.freebsd.org> In-Reply-To: <200704040119.l341JsQ1083798@repoman.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200704041554.48925.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/3014/Wed Apr 4 14:32:14 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/amd64/stdlib Makefile.inc div.S ldiv.S lldiv.S 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: Wed, 04 Apr 2007 19:54:57 -0000 On Tuesday 03 April 2007 09:19 pm, Jung-uk Kim wrote: > jkim 2007-04-04 01:19:54 UTC > > FreeBSD src repository > > Added files: > lib/libc/amd64/stdlib Makefile.inc div.S ldiv.S lldiv.S > Log: > Import amd64 assembly implementations of div(3) family from > NetBSD. > > Obtained from: NetBSD > > Revision Changes Path > 1.1 +4 -0 src/lib/libc/amd64/stdlib/Makefile.inc (new) > 1.1 +17 -0 src/lib/libc/amd64/stdlib/div.S (new) > 1.1 +15 -0 src/lib/libc/amd64/stdlib/ldiv.S (new) > 1.1 +15 -0 src/lib/libc/amd64/stdlib/lldiv.S (new) bde reminded me that C version contains bogus fixup. If we remove the fixup, GCC with -O option generates identical code for ldiv(3) and lldiv(3) on amd64. Jung-uk Kim