From owner-freebsd-alpha Mon Dec 30 12:35:45 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5DDF37B401 for ; Mon, 30 Dec 2002 12:35:44 -0800 (PST) Received: from reiher.informatik.uni-wuerzburg.de (wi4d22.informatik.uni-wuerzburg.de [132.187.101.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE65A43EB2 for ; Mon, 30 Dec 2002 12:35:43 -0800 (PST) (envelope-from mkb@mukappabeta.de) Received: from mukappabeta.de (localhost [127.0.0.1]) by reiher.informatik.uni-wuerzburg.de (Postfix) with ESMTP id 5F2EEA932; Mon, 30 Dec 2002 21:35:32 +0100 (CET) Message-ID: <3E10AE14.1000504@mukappabeta.de> Date: Mon, 30 Dec 2002 21:35:32 +0100 From: Matthias Buelow User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021024 X-Accept-Language: de, en MIME-Version: 1.0 To: Anders Gavare Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: faster strlen() using longs (?) References: X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Anders Gavare wrote: > All my_strlenX functions were placed in a separate file (strlen_test.c), > so the speed gain is not due to inlining strlen itself. Just as a side question, I thought gcc would provide its own (inlined) versions of certain str* and mem* functions when compiling userland code? Am I misinformed here or is it somehow switched off in freebsd? -- Matthias Buelow To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message