From owner-svn-src-head@freebsd.org Thu Aug 13 07:56:32 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 844D99B7010; Thu, 13 Aug 2015 07:56:32 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 408DCFDD; Thu, 13 Aug 2015 07:56:32 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by obbfr1 with SMTP id fr1so31319336obb.1; Thu, 13 Aug 2015 00:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=lDxnUKqI25p1Zdh4te9zSvbtNH4FHR9Bv9Q7w4Xk/D0=; b=NKOkjxzDbIduoTDsixmGCiogUe4sy6u4TThuUIn+v8HcULND9UzdfyQgQ3E0ETyvXv j/BLBkvDk6mTqKx+3m/IUrisPQfvkFXo0pd4vpXFPUY/bKtGt3T3MkHjPcbHvm/pV5B2 A7rtWd9V9VCsYfMXXAieSoRRNwUncWxoL/hhmtzheHUiEDhYPxeIY/FJ4ejXPCU/H3AZ AgOyhdKL/cyu9BZGsHSaqVdnHq1in+XR1aisLaR77hRfanuCMBvY+J5UcTBNJxiLKpwg 2AHFjh/KnoTf4GRsIvHcuMi7I47Bzpno0jFPnD6SCjA9ylLNvxHfHpvE5jGCnx6bhAJL B0bw== MIME-Version: 1.0 X-Received: by 10.60.46.99 with SMTP id u3mr35383142oem.56.1439452591569; Thu, 13 Aug 2015 00:56:31 -0700 (PDT) Received: by 10.202.11.193 with HTTP; Thu, 13 Aug 2015 00:56:31 -0700 (PDT) Reply-To: araujo@FreeBSD.org In-Reply-To: <0CFBA0CC-FEEE-40CE-BC47-065613C64293@FreeBSD.org> References: <201508130231.t7D2VOhc069855@repo.freebsd.org> <20150813134548.U1375@besplex.bde.org> <0CFBA0CC-FEEE-40CE-BC47-065613C64293@FreeBSD.org> Date: Thu, 13 Aug 2015 15:56:31 +0800 Message-ID: Subject: Re: svn commit: r286715 - head/lib/libc/string From: Marcelo Araujo To: David Chisnall Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2015 07:56:32 -0000 Hi David, So it means, this commit here was right already: https://svnweb.freebsd.org/base?view=revision&revision=286651 Although I made a mistake with the date. All the best. 2015-08-13 15:24 GMT+08:00 David Chisnall : > On 13 Aug 2015, at 08:11, Marcelo Araujo wrote: > > > > The bcopy() was removed in IEEE Std 1003.1-2008 and it is marked as > LEGACY in IEEE Std 1003.1-2004. However, BSD has its implementation before > IEEE Std 1003.1-2001. > > > > In my understood it is obsolete on POSIX, but not truly obsolete for > FreeBSD. > > So I believe, this patch now address it in the correct way. > > Its use should be strongly discouraged in FreeBSD (or, ideally, replaced > with the macro from the POSIX man page). LLVM does a load of optimisations > for memmove and memcpy - using bcopy is a really good way of bypassing all > of these. > > David > > -- -- Marcelo Araujo (__)araujo@FreeBSD.org \\\'',)http://www.FreeBSD.org \/ \ ^ Power To Server. .\. /_)