Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 15:54:46 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@FreeBSD.org
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
Message-ID:  <200704041554.48925.jkim@FreeBSD.org>
In-Reply-To: <200704040119.l341JsQ1083798@repoman.freebsd.org>
References:  <200704040119.l341JsQ1083798@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704041554.48925.jkim>