public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1364] i386: Also require TARGET_AVX512BW to generate truncv16hiv16qi2 [PR110021]
@ 2023-05-29 14:11 Uros Bizjak
0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2023-05-29 14:11 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3c1e2b76e0f44a3a149dae8d803b03214025fd5e
commit r14-1364-g3c1e2b76e0f44a3a149dae8d803b03214025fd5e
Author: Uros Bizjak <ubizjak@gmail.com>
Date: Mon May 29 16:10:33 2023 +0200
i386: Also require TARGET_AVX512BW to generate truncv16hiv16qi2 [PR110021]
gcc/ChangeLog:
PR target/110021
* config/i386/i386-expand.cc (ix86_expand_vecop_qihi2): Also require
TARGET_AVX512BW to generate truncv16hiv16qi2.
Diff:
---
gcc/config/i386/i386-expand.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/i386/i386-expand.cc b/gcc/config/i386/i386-expand.cc
index 0d8953b8c75..5d21810669a 100644
--- a/gcc/config/i386/i386-expand.cc
+++ b/gcc/config/i386/i386-expand.cc
@@ -23361,7 +23361,7 @@ ix86_expand_vecop_qihi2 (enum rtx_code code, rtx dest, rtx op1, rtx op2)
{
case E_V16QImode:
himode = V16HImode;
- if (TARGET_AVX512VL)
+ if (TARGET_AVX512VL && TARGET_AVX512BW)
gen_truncate = gen_truncv16hiv16qi2;
break;
case E_V32QImode:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-29 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-29 14:11 [gcc r14-1364] i386: Also require TARGET_AVX512BW to generate truncv16hiv16qi2 [PR110021] Uros Bizjak
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).