From patchwork Fri Jul 5 15:13:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 1128082 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-504485-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="RJ8/He8V"; 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 45gJK96xxPz9sNf for ; Sat, 6 Jul 2019 01:14:05 +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:references:date:in-reply-to:message-id :mime-version:content-type; q=dns; s=default; b=vLT4IFO0w6KP0XPG rw1vCTLrGIAsQQIcXg6pM0arEEyBWla3RXIY2GdPNf6NSZX/PuFuFbgDfLaES6J4 M58MuVPBHVnos8pQH+6R2fKTiFm8BD+ggxJskr8GVnYQiXY/wlbxJZOAwXylbMVI vhimoieVY+dZ7zU8CtNj2Y5BvZc= 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:references:date:in-reply-to:message-id :mime-version:content-type; s=default; bh=sVJz+o1imjbMslU7h5qgnj 72DXc=; b=RJ8/He8VGgzydmHJcMiXBAkLxGgKIBhm5nDuCpv+ZZBaAQQDbLsyep lUXWU0GUX10FAVShe1+7Ndcqz4ZZ3BGLrBFTiZzXGOVdqGVy7EqWkQlZkgK//oGD w5JEHUq/FELxkuQV1IKW60Ck8dTT3ateuhGe8ENTngqDWaP+IggQs= Received: (qmail 67778 invoked by alias); 5 Jul 2019 15:13:58 -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 67770 invoked by uid 89); 5 Jul 2019 15:13:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, MEDICAL_SUBJECT, SPF_PASS autolearn=ham version=3.3.1 spammy=qhi, QHI X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.110.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 05 Jul 2019 15:13:57 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8231D28; Fri, 5 Jul 2019 08:13:55 -0700 (PDT) Received: from localhost (e121540-lin.manchester.arm.com [10.32.98.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0D3693F246; Fri, 5 Jul 2019 08:13:54 -0700 (PDT) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, law@redhat.com, richard.sandiford@arm.com Cc: law@redhat.com Subject: [04/11] [h8300] Fix ambiguous .md attribute uses References: Date: Fri, 05 Jul 2019 16:13:53 +0100 In-Reply-To: (Richard Sandiford's message of "Fri, 05 Jul 2019 16:05:51 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 This patch is part of a series that fixes ambiguous attribute uses in .md files, i.e. cases in which attributes didn't use to specify an iterator, and in which could have different values depending on the iterator chosen. No behavioural change -- produces the same code as before. 2019-07-05 Richard Sandiford gcc/ * config/h8300/h8300.md (*push1_h8300hs_): Explicitly specify the mode iterator referenced by , giving... (*push1_h8300hs_): ...this. Index: gcc/config/h8300/h8300.md =================================================================== --- gcc/config/h8300/h8300.md 2019-07-01 09:37:07.328523581 +0100 +++ gcc/config/h8300/h8300.md 2019-07-05 15:06:32.491921996 +0100 @@ -728,7 +728,7 @@ (define_insn "*pushqi1_h8300" "mov.w\\t%T0,@-r7" [(set_attr "length" "2")]) -(define_insn "*push1_h8300hs_" +(define_insn "*push1_h8300hs_" [(set (mem:QHI (pre_modify:P (reg:P SP_REG)