public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Richard Biener <rguenther@suse.de>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Fix vect-simd-clone testcase dump scanning
Date: Fri, 14 Apr 2023 12:25:05 +0200	[thread overview]
Message-ID: <ZDkqAbHL4o6lNiHG@tucnak> (raw)
In-Reply-To: <nycvar.YFH.7.77.849.2304141012340.4466@jbgna.fhfr.qr>

On Fri, Apr 14, 2023 at 10:15:06AM +0000, Richard Biener wrote:
> Oops.  Indeed target_avx checks whether it can compile sth with
> -O2 -mavx rather than verifying avx is present.  I've seen scan
> failures with -m32/-march=cascadelake on a zen2 host.  I'm not exactly
> sure why.

That is strange.  Sure, -march=cascadelake implies -mavx (-mavx512f even),
but it would surprise me if on such a host avx_runtime wasn't true.
But we've been there before, I think cascadelake turns on the vector
epilogues.
In r13-6784 I've added --param vect-epilogues-nomask=0 to some testcases
that were affected at that point, but perhaps something is affected since
then.  Will have a look.

	Jakub


  reply	other threads:[~2023-04-14 10:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14  9:42 Richard Biener
2023-04-14  9:50 ` Jakub Jelinek
2023-04-14 10:15   ` Richard Biener
2023-04-14 10:25     ` Jakub Jelinek [this message]
2023-04-14 10:59       ` Andre Vieira (lists)
2023-04-14 11:00         ` Jakub Jelinek
2023-04-14 13:38           ` Andre Vieira (lists)

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=ZDkqAbHL4o6lNiHG@tucnak \
    --to=jakub@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rguenther@suse.de \
    /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).