public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Richard Biener <rguenth@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-861] Fix gcc.target/i386/pr100582.c with AVX512
Date: Tue, 18 May 2021 07:53:51 +0000 (GMT)	[thread overview]
Message-ID: <20210518075351.B694E394341B@sourceware.org> (raw)

https://gcc.gnu.org/g:1e07091de3636e9f88b313b52935457b0e2fe07e

commit r12-861-g1e07091de3636e9f88b313b52935457b0e2fe07e
Author: Richard Biener <rguenther@suse.de>
Date:   Tue May 18 08:48:57 2021 +0200

    Fix gcc.target/i386/pr100582.c with AVX512
    
    Which generates vpblendmb.
    
    2021-05-18  Richard Biener  <rguenther@suse.de>
    
    gcc/testsuite/
            * gcc.target/i386/pr100582.c: Adjust for AVX512.

Diff:
---
 gcc/testsuite/gcc.target/i386/pr100582.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr100582.c b/gcc/testsuite/gcc.target/i386/pr100582.c
index 9520fe7a197..1a8e9eb54e3 100644
--- a/gcc/testsuite/gcc.target/i386/pr100582.c
+++ b/gcc/testsuite/gcc.target/i386/pr100582.c
@@ -6,11 +6,11 @@ typedef unsigned char v32qi __attribute__((vector_size(32)));
 v32qi
 f2 (v32qi x, v32qi a, v32qi b)
 {
-    v32qi e;
+  v32qi e;
   for (int i = 0; i != 32; i++)
-     e[i] = x[i] ? a[i] : b[i];
+    e[i] = x[i] ? a[i] : b[i];
 
   return e;
 }
 
-/* { dg-final { scan-assembler-times "pblendvb" 1 } } */
+/* { dg-final { scan-assembler-times "pblend" 1 } } */


                 reply	other threads:[~2021-05-18  7:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210518075351.B694E394341B@sourceware.org \
    --to=rguenth@gcc.gnu.org \
    --cc=gcc-cvs@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).