public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115146] [15 Regression] Incorrect 8-byte vectorization: psrlw/psraw confusion Date: Mon, 27 May 2024 02:42:12 +0000 [thread overview] Message-ID: <bug-115146-4-RAqTmRrFlK@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-115146-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115146 --- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Levy Hsu <xlwxlw7969@gcc.gnu.org>: https://gcc.gnu.org/g:0022064649d0ec40e97df24279c48842e278fedc commit r15-841-g0022064649d0ec40e97df24279c48842e278fedc Author: Levy Hsu <admin@levyhsu.com> Date: Tue May 21 12:47:21 2024 +0930 x86: Fix Logical Shift Issue in expand_vec_perm_psrlw_psllw_por [PR115146] Replaced arithmetic shifts with logical shifts in expand_vec_perm_psrlw_psllw_por to avoid sign bit extension issues. Also corrected gen_vlshrv8hi3 to gen_lshrv8hi3 and gen_vashlv8hi3 to gen_ashlv8hi3. Co-authored-by: H.J. Lu <hjl.tools@gmail.com> gcc/ChangeLog: PR target/115146 * config/i386/i386-expand.cc (expand_vec_perm_psrlw_psllw_por): Replace arithmatic shift gen_ashrv4hi3 with logic shift gen_lshrv4hi3. Replace gen_vlshrv8hi3 with gen_lshrv8hi3 and gen_vashlv8hi3 with gen_ashlv8hi3. gcc/testsuite/ChangeLog: PR target/115146 * g++.target/i386/pr107563-a.C: Append '-mno-sse3' to compile option to avoid test failure on hosts with SSE3 support. * g++.target/i386/pr107563-b.C: Append '-mno-sse3' to compile option to avoid test failure on hosts with SSE3 support. * gcc.target/i386/pr115146.c: New test.
next prev parent reply other threads:[~2024-05-27 2:42 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-05-18 10:06 [Bug target/115146] New: [15 Regression] Incorrect 8-byte vectorization: psllw/psraw confusion slyfox at gcc dot gnu.org 2024-05-18 10:10 ` [Bug target/115146] [15 Regression] Incorrect 8-byte vectorization: psrlw/psraw confusion slyfox at gcc dot gnu.org 2024-05-18 10:19 ` slyfox at gcc dot gnu.org 2024-05-18 11:25 ` slyfox at gcc dot gnu.org 2024-05-18 11:25 ` slyfox at gcc dot gnu.org 2024-05-18 11:41 ` pinskia at gcc dot gnu.org 2024-05-18 15:18 ` admin at levyhsu dot com 2024-05-18 15:55 ` hjl.tools at gmail dot com 2024-05-18 15:55 ` hjl.tools at gmail dot com 2024-05-18 16:30 ` admin at levyhsu dot com 2024-05-18 18:04 ` ubizjak at gmail dot com 2024-05-18 23:18 ` slyfox at gcc dot gnu.org 2024-05-20 2:01 ` liuhongt at gcc dot gnu.org 2024-05-20 2:44 ` admin at levyhsu dot com 2024-05-27 2:42 ` cvs-commit at gcc dot gnu.org [this message] 2024-05-27 2:48 ` liuhongt 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-115146-4-RAqTmRrFlK@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).