public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/94595] gcc.target/arm/thumb2-cond-cmp-*.c fail for cortex-m
Date: Wed, 30 Sep 2020 14:55:54 +0000	[thread overview]
Message-ID: <bug-94595-4-jWBVnlOdkq@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-94595-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94595

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Christophe Lyon <clyon@gcc.gnu.org>:

https://gcc.gnu.org/g:ef11f5b37b0a62dbad9ed37613a3799dc98f6f8b

commit r11-3564-gef11f5b37b0a62dbad9ed37613a3799dc98f6f8b
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date:   Mon Sep 7 14:53:38 2020 +0000

    arm: [testsuite] Skip thumb2-cond-cmp tests on Cortex-M [PR94595]

    Since r204778 (g571880a0a4c512195aa7d41929ba6795190887b2), we favor
    branches over IT blocks on Cortex-M. As a result, instead of
    generating two nested IT blocks in thumb2-cond-cmp-[1234].c, we
    generate either a single IT block, or use branches depending on
    conditions tested by the program.

    Since this was a deliberate change and the tests still pass as
    expected on Cortex-A, this patch skips them when targetting
    Cortex-M. The avoids the failures on Cortex M3, M4, and M33.  This
    patch makes the testcases unsupported on Cortex-M7 although they pass
    in this case because this CPU has different branch costs.

    I tried to relax the scan-assembler directives using eg. cmpne|subne
    or cmpgt|ble but that seemed fragile.

    2020-09-07  Christophe Lyon  <christophe.lyon@linaro.org>

            gcc/testsuite/
            PR target/94595
            * gcc.target/arm/thumb2-cond-cmp-1.c: Skip if arm_cortex_m.
            * gcc.target/arm/thumb2-cond-cmp-2.c: Skip if arm_cortex_m.
            * gcc.target/arm/thumb2-cond-cmp-3.c: Skip if arm_cortex_m.
            * gcc.target/arm/thumb2-cond-cmp-4.c: Skip if arm_cortex_m.

  parent reply	other threads:[~2020-09-30 14:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14 14:18 [Bug target/94595] New: " clyon at gcc dot gnu.org
2020-09-07 16:13 ` [Bug target/94595] " clyon at gcc dot gnu.org
2020-09-08 12:51 ` clyon at gcc dot gnu.org
2020-09-30 14:55 ` cvs-commit at gcc dot gnu.org [this message]
2020-09-30 14:56 ` clyon at gcc dot gnu.org

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=bug-94595-4-jWBVnlOdkq@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).