public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "crazylht at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/97249] Missing vec_select and subreg optimization Date: Wed, 30 Sep 2020 06:38:21 +0000 [thread overview] Message-ID: <bug-97249-4-DmEPSJ3rYk@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-97249-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97249 --- Comment #1 from Hongtao.liu <crazylht at gmail dot com> --- for i386 backend, maybe we can adjust pattern of diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 934b60a288f..2bfa9635fab 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -17658,12 +17658,7 @@ (define_expand "<code>v32qiv32hi2" (define_insn "sse4_1_<code>v8qiv8hi2<mask_name>" [(set (match_operand:V8HI 0 "register_operand" "=Yr,*x,v") (any_extend:V8HI - (vec_select:V8QI - (match_operand:V16QI 1 "register_operand" "Yr,*x,v") - (parallel [(const_int 0) (const_int 1) - (const_int 2) (const_int 3) - (const_int 4) (const_int 5) - (const_int 6) (const_int 7)]))))] + (subreg:V8QI(match_operand:V16QI 1 "register_operand" "Yr,*x,v") 0)))] "TARGET_SSE4_1 && <mask_avx512bw_condition> && <mask_avx512vl_condition>" "%vpmov<extsuffix>bw\t{%1, %0<mask_operand2>|%0<mask_operand2>, %1}" [(set_attr "isa" "noavx,noavx,avx")
next prev parent reply other threads:[~2020-09-30 6:38 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-30 6:30 [Bug rtl-optimization/97249] New: " crazylht at gmail dot com 2020-09-30 6:38 ` crazylht at gmail dot com [this message] 2020-09-30 6:39 ` [Bug rtl-optimization/97249] " crazylht at gmail dot com 2020-09-30 6:48 ` rguenth at gcc dot gnu.org 2020-10-12 2:23 ` crazylht at gmail dot com 2020-10-12 14:53 ` segher at gcc dot gnu.org 2020-10-13 1:59 ` crazylht at gmail dot com 2020-10-13 6:08 ` crazylht at gmail dot com 2020-10-22 3:38 ` cvs-commit at gcc dot gnu.org 2020-10-22 3:38 ` crazylht at gmail dot com 2021-08-21 18:28 ` pinskia at gcc dot gnu.org
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=bug-97249-4-DmEPSJ3rYk@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).