From owner-svn-src-all@FreeBSD.ORG Sat May 4 14:21:33 2013 Return-Path: Delivered-To: svn-src-all@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 4E90B981 for ; Sat, 4 May 2013 14:21:33 +0000 (UTC) (envelope-from mailer-daemon@vniz.net) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id C7FC91D0A for ; Sat, 4 May 2013 14:21:32 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id fk20so2263631lab.19 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=e1CMRRWj1x50t7KkcSmhh/zfTNRUbjDVS++IQ2U9jMcnOhtzR/i6X8CPuf9NVRSUKS CweJQO1cO+ofsZiYpak22xG1USIkAeasyIbWx0VrasGYdtrk0krgmMBYjdG48a6rewv5 kL2t9LGmwezoo3GSGvE/DZ83Z6BcrT5LX2yAc4Fdaa9Qkyk5Sn8mdn7JOTOgc4V6b26X O7YqZfhGSqfwsNFy4l8T/mI167DDp2pDjQDhoc5g6psPly3Z4Cio+defu/NN9k7ZpCtF i+7glYoTdy8QmxNhSDkiixtVMDIjmwJkmJLjFMHjOM+38GN36MnXY/SJiUj0vnUFT6pR 5mJw== 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: ALoCoQmYZf6ULcZRODKxMy6sMD6qnwlb2N+6cUJSPTq6tHIrqq40B0KlPihV4bTzJS5N9CclZU2f 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" 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