From: Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>
To: <gcc-patches@gcc.gnu.org>
Cc: <yvan.roux@foss.st.com>, <ro@CeBiTec.Uni-Bielefeld.DE>,
<mikestump@comcast.net>
Subject: Re: [PATCH] testsuite: Disable zero-scratch-regs-{7, 9, 11}.c on arm
Date: Fri, 16 Sep 2022 14:25:34 +0200 [thread overview]
Message-ID: <ec3d7bdb-dc26-9f46-1cc1-84571f91de5f@foss.st.com> (raw)
In-Reply-To: <20220915065416.1172508-1-torbjorn.svensson@foss.st.com>
Hi all,
Appears that this is just a problem for gcc11 (and perhaps gcc12?).
Master already has the needed implementation, so the patch below is not
needed.
Sorry for the buzz.
Kind regards,
Torbjörn
On 2022-09-15 08:54, Torbjörn SVENSSON wrote:
> -fzero-call-used-regs=all and -fzero-call-used-regs=all-gpr are not
> supported on arm*. On arm-none-eabi, the testcases fails with:
>
> sorry, unimplemented: '-fzero-call-used-regs' not supported on this target
>
> 2022-09-15 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
>
> gcc/testsuite/ChangeLog:
>
> * c-c++-common/zero-scratch-regs-7.c: Skip on arm.
> * c-c++-common/zero-scratch-regs-9.c: Likewise.
> * c-c++-common/zero-scratch-regs-11.c: Likewise.
>
> Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com>
> Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
> ---
> gcc/testsuite/c-c++-common/zero-scratch-regs-11.c | 2 +-
> gcc/testsuite/c-c++-common/zero-scratch-regs-7.c | 1 +
> gcc/testsuite/c-c++-common/zero-scratch-regs-9.c | 2 +-
> 3 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c
> index b7739b2c6f6..6fd2a1dc382 100644
> --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c
> +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c
> @@ -1,5 +1,5 @@
> /* { dg-do run } */
> -/* { dg-skip-if "not implemented" { ! { i?86*-*-* x86_64*-*-* sparc*-*-* aarch64*-*-* arm*-*-* nvptx*-*-* s390*-*-* loongarch64*-*-* } } } */
> +/* { dg-skip-if "not implemented" { ! { i?86*-*-* x86_64*-*-* sparc*-*-* aarch64*-*-* nvptx*-*-* s390*-*-* loongarch64*-*-* } } } */
> /* { dg-options "-O2 -fzero-call-used-regs=all" } */
>
> #include "zero-scratch-regs-10.c"
> diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-7.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-7.c
> index 2a4c8b2e73d..c684b4a02f9 100644
> --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-7.c
> +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-7.c
> @@ -1,5 +1,6 @@
> /* { dg-do run } */
> /* { dg-skip-if "not implemented" { ia64*-*-* } } */
> +/* { dg-skip-if "not implemented" { arm*-*-* } } */
> /* { dg-options "-O2 -fzero-call-used-regs=all-gpr" } */
>
> #include "zero-scratch-regs-1.c"
> diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c
> index ea83bc146b7..0e8922053e8 100644
> --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c
> +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c
> @@ -1,5 +1,5 @@
> /* { dg-do run } */
> -/* { dg-skip-if "not implemented" { ! { i?86*-*-* x86_64*-*-* sparc*-*-* aarch64*-*-* arm*-*-* nvptx*-*-* s390*-*-* loongarch64*-*-* } } } */
> +/* { dg-skip-if "not implemented" { ! { i?86*-*-* x86_64*-*-* sparc*-*-* aarch64*-*-* nvptx*-*-* s390*-*-* loongarch64*-*-* } } } */
> /* { dg-options "-O2 -fzero-call-used-regs=all" } */
>
> #include "zero-scratch-regs-1.c"
prev parent reply other threads:[~2022-09-16 12:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-15 6:54 Torbjörn SVENSSON
2022-09-16 12:25 ` Torbjorn SVENSSON [this message]
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=ec3d7bdb-dc26-9f46-1cc1-84571f91de5f@foss.st.com \
--to=torbjorn.svensson@foss.st.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=mikestump@comcast.net \
--cc=ro@CeBiTec.Uni-Bielefeld.DE \
--cc=yvan.roux@foss.st.com \
/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).