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 target/92658] x86 lacks vector extend / truncate Date: Fri, 25 Dec 2020 02:19:44 +0000 [thread overview] Message-ID: <bug-92658-4-GHLvPnJwlC@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-92658-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92658 --- Comment #21 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to CVS Commits from comment #14) > The master branch has been updated by Uros Bizjak <uros@gcc.gnu.org>: > > https://gcc.gnu.org/g:f6e40195ec3d3b402a5f6c58dbf359479bc4cbfa > > commit r11-485-gf6e40195ec3d3b402a5f6c58dbf359479bc4cbfa > Author: Uros Bizjak <ubizjak@gmail.com> > Date: Tue May 19 11:25:46 2020 +0200 > > i386: Add missing vector zero/sign extend expanders [PR92658] > > 2020-05-19 Uroš Bizjak <ubizjak@gmail.com> > > gcc/ChangeLog: > PR target/92658 > * config/i386/sse.md (<code>v16qiv16hi2): New expander. > (<code>v32qiv32hi2): Ditto. > (<code>v8qiv8hi2): Ditto. > (<code>v16qiv16si2): Ditto. > (<code>v8qiv8si2): Ditto. > (<code>v4qiv4si2): Ditto. > (<code>v16hiv16si2): Ditto. > (<code>v8hiv8si2): Ditto. > (<code>v4hiv4si2): Ditto. > (<code>v8qiv8di2): Ditto. > (<code>v4qiv4di2): Ditto. > (<code>v2qiv2di2): Ditto. > (<code>v8hiv8di2): Ditto. > (<code>v4hiv4di2): Ditto. > (<code>v2hiv2di2): Ditto. > (<code>v8siv8di2): Ditto. > (<code>v4siv4di2): Ditto. > (<code>v2siv2di2): Ditto. > <code> for sign_extend is sign_extend, but the standard pattern names for sign_extend is extendmn. We need to to refine those expanders Add define_code_attr like aarch64/iterators.md? ---------- ;; Map rtl objects to optab names (define_code_attr optab [(ashift "ashl") (ashiftrt "ashr") (lshiftrt "lshr") (rotatert "rotr") (sign_extend "extend") (zero_extend "zero_extend") ---------- > gcc/testsuite/ChangeLog: > PR target/92658 > * gcc.target/i386/pr92658-sse4.c: New test. > * gcc.target/i386/pr92658-avx2.c: New test. > * gcc.target/i386/pr92658-avx512bw.c: New test.
next prev parent reply other threads:[~2020-12-25 2:19 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-92658-4@http.gcc.gnu.org/bugzilla/> 2020-05-14 12:50 ` ubizjak at gmail dot com 2020-05-14 13:20 ` rguenther at suse dot de 2020-05-14 13:41 ` rsandifo at gcc dot gnu.org 2020-05-15 8:18 ` crazylht at gmail dot com 2020-05-19 9:26 ` cvs-commit at gcc dot gnu.org 2020-05-19 9:35 ` ubizjak at gmail dot com 2020-05-20 5:12 ` crazylht at gmail dot com 2020-05-20 8:16 ` crazylht at gmail dot com 2020-05-22 13:32 ` cvs-commit at gcc dot gnu.org 2020-05-22 21:50 ` mark at gcc dot gnu.org 2020-05-23 2:28 ` crazylht at gmail dot com 2020-12-25 2:19 ` crazylht at gmail dot com [this message] 2020-12-25 10:32 ` ubizjak at gmail dot com 2020-12-29 1:36 ` crazylht at gmail dot com 2021-01-07 6:35 ` cvs-commit at gcc dot gnu.org 2021-12-15 0:53 ` pinskia at gcc dot gnu.org 2021-12-15 1:46 ` crazylht at gmail dot com 2023-05-10 20:43 ` cvs-commit at gcc dot gnu.org 2023-06-03 0:09 ` cvs-commit 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-92658-4-GHLvPnJwlC@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).