From owner-cvs-all@FreeBSD.ORG Mon Nov 6 22:42:53 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8B1F16A47C; Mon, 6 Nov 2006 22:42:52 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62E9843D5F; Mon, 6 Nov 2006 22:42:41 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.47] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.6) with ESMTP id kA6MgWCR045073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Nov 2006 14:42:34 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Message-ID: <454FBA57.5000700@FreeBSD.org> Date: Mon, 06 Nov 2006 14:42:31 -0800 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Olivier Houchard References: <200611062207.kA6M7lqf023545@repoman.freebsd.org> In-Reply-To: <200611062207.kA6M7lqf023545@repoman.freebsd.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libstand Makefile src/lib/libc/amd64/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S src/lib/libc/arm/net htonl.S htons.S ntohl.S ntohs.S src/lib/libc/i386/net Makefile.inc htonl.S htons.S ntohl.S ntohs.S src/lib/libc/ia64/net Makefile.inc ... 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: Mon, 06 Nov 2006 22:42:53 -0000 Does it have any performance implications? Just curious. -Maxim Olivier Houchard wrote: > cognet 2006-11-06 22:07:47 UTC > > FreeBSD src repository > > Modified files: > lib/libstand Makefile > lib/libc/net Makefile.inc > Added files: > lib/libc/net ntoh.c > Removed files: > lib/libc/amd64/net Makefile.inc htonl.S htons.S ntohl.S > ntohs.S > lib/libc/arm/net htonl.S htons.S ntohl.S ntohs.S > lib/libc/i386/net Makefile.inc htonl.S htons.S ntohl.S > ntohs.S > lib/libc/ia64/net Makefile.inc byte_swap_2.S byte_swap_4.S > htonl.S htons.S ntohl.S ntohs.S > lib/libc/powerpc/net Makefile.inc htonl.S htons.S ntohl.S > ntohs.S > lib/libc/sparc64/net Makefile.inc htonl.S htons.S ntohl.S > ntohs.S > Log: > Instead of re-implementing hton[ls] and friends for each arch, add a new MI > file, net/ntoh.c, which just implement them using the inline functions from > . > > Suggested by: bde > > Revision Changes Path > 1.7 +0 -4 src/lib/libc/amd64/net/Makefile.inc (dead) > 1.11 +0 -50 src/lib/libc/amd64/net/htonl.S (dead) > 1.11 +0 -50 src/lib/libc/amd64/net/htons.S (dead) > 1.11 +0 -50 src/lib/libc/amd64/net/ntohl.S (dead) > 1.11 +0 -52 src/lib/libc/amd64/net/ntohs.S (dead) > 1.3 +0 -50 src/lib/libc/arm/net/htonl.S (dead) > 1.3 +0 -49 src/lib/libc/arm/net/htons.S (dead) > 1.3 +0 -50 src/lib/libc/arm/net/ntohl.S (dead) > 1.3 +0 -49 src/lib/libc/arm/net/ntohs.S (dead) > 1.7 +0 -4 src/lib/libc/i386/net/Makefile.inc (dead) > 1.12 +0 -50 src/lib/libc/i386/net/htonl.S (dead) > 1.10 +0 -50 src/lib/libc/i386/net/htons.S (dead) > 1.12 +0 -50 src/lib/libc/i386/net/ntohl.S (dead) > 1.10 +0 -52 src/lib/libc/i386/net/ntohs.S (dead) > 1.2 +0 -3 src/lib/libc/ia64/net/Makefile.inc (dead) > 1.6 +0 -48 src/lib/libc/ia64/net/byte_swap_2.S (dead) > 1.6 +0 -48 src/lib/libc/ia64/net/byte_swap_4.S (dead) > 1.5 +0 -36 src/lib/libc/ia64/net/htonl.S (dead) > 1.5 +0 -36 src/lib/libc/ia64/net/htons.S (dead) > 1.5 +0 -36 src/lib/libc/ia64/net/ntohl.S (dead) > 1.5 +0 -36 src/lib/libc/ia64/net/ntohs.S (dead) > 1.62 +3 -8 src/lib/libc/net/Makefile.inc > 1.1 +58 -0 src/lib/libc/net/ntoh.c (new) > 1.2 +0 -4 src/lib/libc/powerpc/net/Makefile.inc (dead) > 1.2 +0 -38 src/lib/libc/powerpc/net/htonl.S (dead) > 1.2 +0 -38 src/lib/libc/powerpc/net/htons.S (dead) > 1.2 +0 -38 src/lib/libc/powerpc/net/ntohl.S (dead) > 1.2 +0 -40 src/lib/libc/powerpc/net/ntohs.S (dead) > 1.3 +0 -3 src/lib/libc/sparc64/net/Makefile.inc (dead) > 1.5 +0 -56 src/lib/libc/sparc64/net/htonl.S (dead) > 1.4 +0 -58 src/lib/libc/sparc64/net/htons.S (dead) > 1.5 +0 -56 src/lib/libc/sparc64/net/ntohl.S (dead) > 1.4 +0 -58 src/lib/libc/sparc64/net/ntohs.S (dead) > 1.57 +3 -7 src/lib/libstand/Makefile > >