From patchwork Sat Jul 20 17:19:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 1134416 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-505374-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="xgzEqvJY"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45rZPr5nKzz9sBF for ; Sun, 21 Jul 2019 03:20:16 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; q=dns; s=default; b=A5Gupb+FIpWUJWhLnRZ xRN/UNl7dx/jAZC7FKIwD4bS8skkWeJPYGo68C/uXK944luDOxskHbs2wD8TIPBx bmnZbZwXb+lpKTGvB6mQKO79Y85xLckbx3rI91gwncRCxc1b/Q9MQKHTteWezDRL lU/Jnc+1oasNgXu5p+TBK7ro= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; s=default; bh=H5kA0TTUrBTX9ep5tbz/7jdN/ YI=; b=xgzEqvJYC6tFPCE3ZPg5mPu6Ii9KGvq0vcXZCt+PFLbm50KD5Neldu9Hz w7G8L6vu8CYfGgv/YGj+yLCwUbKl1/xoqWUVRAPnMR7MSJx1iEzFQaCOoOb4BrRx vPenJWXqo7QCNsIM7lWWAh6HFK9KXCJQS0qPbejVSSK6Kl3M2w= Received: (qmail 5354 invoked by alias); 20 Jul 2019 17:19:49 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 5288 invoked by uid 89); 20 Jul 2019 17:19:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=HX-Languages-Length:876 X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 20 Jul 2019 17:19:47 +0000 Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 52AA812407FD; Sat, 20 Jul 2019 17:19:46 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH 4/4] rs6000: Make offsettable_mem_operand use any_memory_operand Date: Sat, 20 Jul 2019 17:19:17 +0000 Message-Id: <8d3588c59f810b7ff95aedabcd4ec6e8e6e82b2d.1563642475.git.segher@kernel.crashing.org> In-Reply-To: References: In-Reply-To: References: X-IsSubscribed: yes 2019-07-20 Segher Boessenkool * config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile memory. --- gcc/config/rs6000/predicates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index 7c451df..5a2d2d3 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -716,7 +716,7 @@ (define_predicate "any_memory_operand" ;; Return 1 if the operand is an offsettable memory operand. (define_predicate "offsettable_mem_operand" - (and (match_operand 0 "memory_operand") + (and (match_operand 0 "any_memory_operand") (match_test "offsettable_nonstrict_memref_p (op)"))) ;; Return 1 if the operand is a simple offsettable memory operand