All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Prince <vincent.prince.fr@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] GCC 7.2.0: Fix 0051-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch
Date: Tue,  5 Dec 2017 16:44:55 +0100	[thread overview]
Message-ID: <1512488695-19237-1-git-send-email-vincent.prince.fr@gmail.com> (raw)

Patch fails to apply on peep-ldrd-1.c and peep-strd-1.c.
First chunk replace ldrd by ldrd\\t then second chunk copy peep-X-1.c to peep-ldrd-2.c and try to replace already patched ldrd\\t

Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
---
 .../0051-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-7.2/0051-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch b/meta/recipes-devtools/gcc/gcc-7.2/0051-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch
index 0212507..1995f64 100644
--- a/meta/recipes-devtools/gcc/gcc-7.2/0051-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0051-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch
@@ -158,7 +158,7 @@ index eb2b86ee7b6..6822c2b1454 100644
    *p = a;
    return a;
  }
--/* { dg-final { scan-assembler "ldrd" } } */
+-/* { dg-final { scan-assembler "ldrd\\t" } } */
 +/* { dg-final { scan-assembler-not "ldrd\\t" } } */
 diff --git a/gcc/testsuite/gcc.target/arm/peep-strd-1.c b/gcc/testsuite/gcc.target/arm/peep-strd-1.c
 index bd330769599..fe1beac7229 100644
@@ -187,7 +187,7 @@ index bd330769599..bfc5ebe9eec 100644
    p[2] = a;
    p[3] = b;
  }
--/* { dg-final { scan-assembler "strd" } } */
+-/* { dg-final { scan-assembler "strd\\t" } } */
 +/* { dg-final { scan-assembler-not "strd\\t" } } */
 -- 
 2.15.0
-- 
2.7.4



             reply	other threads:[~2017-12-05 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 15:44 Vincent Prince [this message]
2017-12-05 17:55 ` [PATCH] GCC 7.2.0: Fix 0051-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1512488695-19237-1-git-send-email-vincent.prince.fr@gmail.com \
    --to=vincent.prince.fr@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.