From patchwork Thu Jan 22 11:40:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Krebbel X-Patchwork-Id: 431781 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 8D9431402AC for ; Thu, 22 Jan 2015 22:40:35 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=KfOqfV7D+58uQFV5qsNoGtGempkiWqZSJuMbeGHPOK7WtSZasb8Zb hk6ZdZuL0XonU7D60s+Q5gAK3nm5d9ZeO/zLq/vuNflJX2RFqvKjOBgeIh3V4vip yPOXoTjAYn0HdObvYTAurcPYcYJ4Kpnsh+7KhArSzH7oeV0El83cwk= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=dgpgcDlt9ImWGnyGoTqtRa2Orz4=; b=yT3V3leStCRRb9thSbNL yTj3SbY/9jxVsviWesihkOXRIC72bZz4Oj/xzVy7AOzeZePSf/GzwaVUMGm2z4BR PuIBoWiyXFafE0yahAeeK9wb4rmHIZItHjxZ2cNSfhcOj8t+MOvyb5bSNCyRQJ5J hTV0GwcKtRgXhC0bgQjsnGg= Received: (qmail 5951 invoked by alias); 22 Jan 2015 11:40:27 -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 5919 invoked by uid 89); 22 Jan 2015 11:40:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp15.uk.ibm.com Received: from e06smtp15.uk.ibm.com (HELO e06smtp15.uk.ibm.com) (195.75.94.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 22 Jan 2015 11:40:20 +0000 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 Jan 2015 11:40:16 -0000 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 22 Jan 2015 11:40:14 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 2213A2190046 for ; Thu, 22 Jan 2015 11:40:12 +0000 (GMT) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t0MBeDcj56098826 for ; Thu, 22 Jan 2015 11:40:13 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t0MBeDEd030351 for ; Thu, 22 Jan 2015 04:40:13 -0700 Received: from bart (dyn-9-152-212-92.boeblingen.de.ibm.com [9.152.212.92]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with SMTP id t0MBeCli030279 for ; Thu, 22 Jan 2015 04:40:12 -0700 Received: by bart (sSMTP sendmail emulation); Thu, 22 Jan 2015 12:40:12 +0100 Date: Thu, 22 Jan 2015 12:40:12 +0100 From: Andreas Krebbel To: gcc-patches@gcc.gnu.org Subject: [Committed] S/390: Fix typo in atomic code iterator Message-ID: <20150122114012.GA583@maggie> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15012211-0021-0000-0000-000002A37394 X-IsSubscribed: yes Hi, I've committed the following bugfix which fixes an obvious typo in the atomic code attribute. Due to this the load and or instructions was not used. Committed to 4.9 branch and mainline. Bye, -Andreas- 2015-01-22 Andreas Krebbel * config/s390/s390.md (atomic code attribute): Fix typo "ior" -> "or". diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index fab1898..90f6fc9 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -417,7 +417,7 @@ ;; This iterator and attribute allow to combine most atomic operations. (define_code_iterator ATOMIC [and ior xor plus minus mult]) (define_code_iterator ATOMIC_Z196 [and ior xor plus]) -(define_code_attr atomic [(and "and") (ior "ior") (xor "xor") +(define_code_attr atomic [(and "and") (ior "or") (xor "xor") (plus "add") (minus "sub") (mult "nand")]) (define_code_attr noxa [(and "n") (ior "o") (xor "x") (plus "a")])