From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by sourceware.org (Postfix) with ESMTP id B4B48385800F for ; Fri, 26 Mar 2021 22:10:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B4B48385800F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=segher@kernel.crashing.org Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 12QM9bnJ024292; Fri, 26 Mar 2021 17:09:38 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 12QM9aRh024287; Fri, 26 Mar 2021 17:09:36 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Fri, 26 Mar 2021 17:09:35 -0500 From: Segher Boessenkool To: Stefan Franke Cc: gcc-help@gcc.gnu.org Subject: Re: setmemsi, movmemsi and post_inc Message-ID: <20210326220935.GJ16691@gate.crashing.org> References: <00fb01d72182$266be7f0$7343b7d0$@franke.ms> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00fb01d72182$266be7f0$7343b7d0$@franke.ms> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, TXREP, T_SPF_HELO_PERMERROR, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2021 22:10:45 -0000 Hi! On Thu, Mar 25, 2021 at 03:21:29PM +0100, Stefan Franke wrote: > (insn 8 7 9 2 (set (reg:SI 41) > (reg/f:SI 40)) > (expr_list:REG_INC (reg:SI 41) > (nil))) REG_INC notes are only valid on insns containing a post_inc expression. This usually is inside a mem, but it doesn't have to be. So this would be (set (reg:SI 41) (post_inc:SI (reg:SI 40))) Segher