public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-861] Fix gcc.target/i386/pr100582.c with AVX512
@ 2021-05-18 7:53 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2021-05-18 7:53 UTC (permalink / raw)
To: gcc-cvs
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 } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-18 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 7:53 [gcc r12-861] Fix gcc.target/i386/pr100582.c with AVX512 Richard Biener
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).