From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75300 invoked by alias); 15 May 2019 14:47:56 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 75292 invoked by uid 89); 15 May 2019 14:47:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=our X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 May 2019 14:47:55 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 31B44AFCC; Wed, 15 May 2019 14:47:53 +0000 (UTC) Date: Wed, 15 May 2019 14:47:00 -0000 From: Michael Matz To: Jakub Jelinek cc: Aaron Sawdey , Richard Biener , GCC Development , Joseph Myers , Jeff Law , Segher Boessenkool , David Edelsohn , Bill Schmidt Subject: Re: Fixing inline expansion of overlapping memmove and non-overlapping memcpy In-Reply-To: <20190515141106.GK19695@tucnak> Message-ID: References: <21ca63aa-3838-e2ae-bf6e-39ec1b98dca4@linux.ibm.com> <20190515141106.GK19695@tucnak> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2019-05/txt/msg00115.txt.bz2 Hi, On Wed, 15 May 2019, Jakub Jelinek wrote: > Just one thing to note, our "memcpy" expectation is that either there is > no overlap, or there is 100% overlap (src == dest), both all the current > movmem == future cpymem expanders and all the supported library > implementations do support that, though the latter just de-facto, it > isn't a written guarantee. Yes, I should have been more precise, complete overlap is always de-facto supported as well. Ciao, Michael.