From: Segher Boessenkool <segher@kernel.crashing.org>
To: "Paul A. Clarke" <pc@us.ibm.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] rs6000: Fixes for tests including only <x86intrin.h>
Date: Mon, 25 Oct 2021 17:32:51 -0500 [thread overview]
Message-ID: <20211025223251.GW614@gate.crashing.org> (raw)
In-Reply-To: <20211025203321.645546-1-pc@us.ibm.com>
Hi!
On Mon, Oct 25, 2021 at 03:33:21PM -0500, Paul A. Clarke wrote:
> * config/rs6000/x86intrin.h: Move some included headers to new
> headers; include new immintrin.h instead.
s/; i/. I/ (And instead of what?)
> * config/rs6000/immintrin.h: New.
> * config/rs6000/x86gprintrin.h: New.
(That is a filename worse than our worst mnemonic :-) )
> * config/config.gcc (powerpc-*-*): Add new headers to extra_headers.
powerpc*-*-*
> --- a/gcc/testsuite/gcc.target/powerpc/pr78102.c
> +++ b/gcc/testsuite/gcc.target/powerpc/pr78102.c
> @@ -1,6 +1,6 @@
> /* { dg-do compile } */
> -/* { dg-options "-O2 -mvsx" } */
> -/* { dg-require-effective-target vsx_hw } */
> +/* { dg-options "-O2 -mpower8-vector -DNO_WARN_X86_INTRINSICS" } */
> +/* { dg-require-effective-target p8vector_hw } */
Please use -mcpu=power8 instead? (And -mdejagnu-cpu=power8 in
testcases).
(The changelog should say you added the -D btw).
If you run you need *_hw. If you only compile, like here, you want to
use *_ok instead.
Okay for trunk with those things tuned up. Thanks!
Segher
next prev parent reply other threads:[~2021-10-25 22:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-25 20:33 Paul A. Clarke
2021-10-25 22:32 ` Segher Boessenkool [this message]
2021-10-26 17:14 ` [PATCH v2 COMMITTED] " Paul A. Clarke
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=20211025223251.GW614@gate.crashing.org \
--to=segher@kernel.crashing.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=pc@us.ibm.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).