From owner-svn-src-stable@FreeBSD.ORG Sat May 4 14:21:33 2013 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2D6AE97F for ; Sat, 4 May 2013 14:21:33 +0000 (UTC) (envelope-from mailer-daemon@vniz.net) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id A5BC31D08 for ; Sat, 4 May 2013 14:21:32 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id fl20so2258368lab.37 for ; Sat, 04 May 2013 07:21:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:openpgp:content-type :content-transfer-encoding:x-gm-message-state; bh=glWyhahccLBnIUAeHYrGWWWWdhCsru1MrxFbQzPizGg=; b=kwmfJZs5YGdlnd2fDLkyubX6zJfijTJDfIdfqNfta8FQA8VSHGp/rdW4wxmYrYKC5j AmEyTKnmwqrOWgLC93mXEYdq6N1DlrFiOLRPqB8LHx7FhOJsBvKcbjAtle6BfXqTlns/ XswO2kzVhLB+1+3g1eN0Oij+qddGFvHZGM2II26bxgWN4s3uTIWi59Y64X/vstSxq2dC a94IPonhcDKn42AU/Jh2ODLxnCe3/TbspxeDAjdkIjL8MiJUD142+3RCYJ26GIAcrW8L nMZ96PYKxx0dTwbYe9Gmrtn7sV3zArzJaLXhhpAHkKe5ORkTTG8Gq/7vmXp0T4FFS0J/ QT8g== X-Received: by 10.112.160.66 with SMTP id xi2mr5632608lbb.97.1367677291555; Sat, 04 May 2013 07:21:31 -0700 (PDT) Received: from [192.168.1.2] ([89.169.163.3]) by mx.google.com with ESMTPSA id s1sm5929074lag.2.2013.05.04.07.21.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 04 May 2013 07:21:31 -0700 (PDT) Message-ID: <51851969.6020802@freebsd.org> Date: Sat, 04 May 2013 18:21:29 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Sergey Kandaurov Subject: Re: svn commit: r250215 - stable/9/lib/libc/locale References: <201305031552.r43FqiPN024580@svn.freebsd.org> <5183E899.4000503@freebsd.org> <20130503195540.GA52657@stack.nl> <5184ED7E.3040703@freebsd.org> In-Reply-To: OpenPGP: id=964474DD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkS2jpKEeahTA1812NUCnxu6dHXH/jatK19JkbpMtJS9ujcZNPHYpyVl+hwCEH3eR57T1i7 Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org, Jilles Tjoelker X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 May 2013 14:21:33 -0000 On 04.05.2013 16:03, Sergey Kandaurov wrote: >> BTW, I don't run tests and look in asm code for sure, but it seems >> property[0] == p[0] is unneeded because almost every compiler tries to >> inline strcmp(). > > Doesn't seem so (in-lining), see below. Yes, system's GNU cc don't inline strcmp() but inlines memcmp(): repz cmpsb I don't have clang nearby right now to test what it does. -- http://ache.vniz.net/ bitcoin:13fGiNutKNHcVSsgtGQ7bQ5kgUKgEQHn7N