From patchwork Thu Apr 19 11:23:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramana Radhakrishnan X-Patchwork-Id: 7944 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5A96423E1D for ; Thu, 19 Apr 2012 11:23:58 +0000 (UTC) Received: from mail-gy0-f180.google.com (mail-gy0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 205C0A18069 for ; Thu, 19 Apr 2012 11:23:58 +0000 (UTC) Received: by ghbz12 with SMTP id z12so5305180ghb.11 for ; Thu, 19 Apr 2012 04:23:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :mime-version:date:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=Kcr6jcSLVxCA+txIap+X5MfJaOJYQO3zZMu4pdEdsAA=; b=U7y6Fw0o9WJAXFQc+P6pjM7m7iadUIdrxgyMtmvKB7qM8rV4CTnxRxGNRokHZEuWyp RODJvqFQi6TlFv1RUikV73yPs2qRZDUYwfs7LoGEciyy2hZszvK3HnA1sqFB1oCda5Y7 jGz4HFiHlBSla3vtYoHYyArZDb5JDSIVpXoCn00v/tFTf6UQG0+a5MEsbR+DE96pX4iO tLHg7lGIkcHv4OjyTZcqha1gHdCCa/pxZG7KPpkgqo7D8VkCZAYuIN0pVFj9s5a4XA0z 3OjjJtiGZZuJScUQ4tHvAz9EE6r+0fQ5j+zXV9bwKfmvnYUytbfvf4tjRajPq9ACc1nr Woig== Received: by 10.50.41.201 with SMTP id h9mr16510113igl.19.1334834637458; Thu, 19 Apr 2012 04:23:57 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp282507ibt; Thu, 19 Apr 2012 04:23:56 -0700 (PDT) Received: by 10.224.221.75 with SMTP id ib11mr2282355qab.21.1334834636011; Thu, 19 Apr 2012 04:23:56 -0700 (PDT) Received: from mail-qa0-f42.google.com (mail-qa0-f42.google.com [209.85.216.42]) by mx.google.com with ESMTPS id a19si724948qcz.88.2012.04.19.04.23.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Apr 2012 04:23:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.216.42 is neither permitted nor denied by best guess record for domain of ramana.radhakrishnan@linaro.org) client-ip=209.85.216.42; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.216.42 is neither permitted nor denied by best guess record for domain of ramana.radhakrishnan@linaro.org) smtp.mail=ramana.radhakrishnan@linaro.org Received: by qafi31 with SMTP id i31so1350982qaf.15 for ; Thu, 19 Apr 2012 04:23:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.86.208 with SMTP id t16mr2284410qal.16.1334834635659; Thu, 19 Apr 2012 04:23:55 -0700 (PDT) Received: by 10.224.95.196 with HTTP; Thu, 19 Apr 2012 04:23:55 -0700 (PDT) Date: Thu, 19 Apr 2012 12:23:55 +0100 Message-ID: Subject: [Patch ARM] Fix name of atomic expander for ior From: Ramana Radhakrishnan To: gcc-patches Cc: Patch Tracking X-Gm-Message-State: ALoCoQkg/F6SNeFZonEXIFtu9OVm9kja89Lp9iHB4YDmyjNBoSvNYPFwjdGZUEeWnV8B+aQ7Qfir Hi, Following Uros's mail here http://gcc.gnu.org/ml/gcc/2012-04/msg00679.html, I've noticed that ARM is also an affected target. Applied to trunk after testing with a new enough gdb, will be applied to 4.7 once testing completes there. regards, Ramana 2012-04-19 Ramana Radhakrishnan * config/arm/sync.md (sync_optab): Change ior attribute to "or". diff --git a/gcc/config/arm/sync.md b/gcc/config/arm/sync.md index 96de0f3..03838f5 100644 --- a/gcc/config/arm/sync.md +++ b/gcc/config/arm/sync.md @@ -29,7 +29,7 @@ (define_code_iterator syncop [plus minus ior xor and]) (define_code_attr sync_optab - [(ior "ior") (xor "xor") (and "and") (plus "add") (minus "sub")]) + [(ior "or") (xor "xor") (and "and") (plus "add") (minus "sub")]) (define_mode_attr sync_sfx [(QI "b") (HI "h") (SI "") (DI "d")])