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/55583] Extended shift instruction on x86-64 is not used, producing unoptimal code Date: Tue, 01 Nov 2022 03:24:05 +0000 [thread overview] Message-ID: <bug-55583-4-vwAicdD0Bh@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-55583-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55583 --- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>: https://gcc.gnu.org/g:5c5ef2f9ab545b680cd4bb6c540a9dadb12ead86 commit r13-3586-g5c5ef2f9ab545b680cd4bb6c540a9dadb12ead86 Author: liuhongt <hongtao.liu@intel.com> Date: Thu Oct 27 18:48:41 2022 +0800 Enable more optimization for 32-bit/64-bit shrd/shld with imm shift count. This patch doens't handle variable count since it require 5 insns to be combined to get wanted pattern, but current pass_combine only supports at most 4. This patch doesn't handle 16-bit shrd/shld either. gcc/ChangeLog: PR target/55583 * config/i386/i386.md (*x86_64_shld_1): Rename to .. (x86_64_shld_1): .. this. (*x86_shld_1): Rename to .. (x86_shld_1): .. this. (*x86_64_shrd_1): Rename to .. (x86_64_shrd_1): .. this. (*x86_shrd_1): Rename to .. (x86_shrd_1): .. this. (*x86_64_shld_shrd_1_nozext): New pre_reload splitter. (*x86_shld_shrd_1_nozext): Ditto. (*x86_64_shrd_shld_1_nozext): Ditto. (*x86_shrd_shld_1_nozext): Ditto. gcc/testsuite/ChangeLog: * gcc.target/i386/pr55583.c: New test.
prev parent reply other threads:[~2022-11-01 3:24 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-12-04 0:06 [Bug rtl-optimization/55583] New: " mtkilpailut at torni dot org 2012-12-04 0:08 ` [Bug rtl-optimization/55583] " mtkilpailut at torni dot org 2012-12-04 0:21 ` hjl.tools at gmail dot com 2012-12-04 1:04 ` mikko.markus.torni at iki dot fi 2012-12-04 10:16 ` [Bug target/55583] " glisse at gcc dot gnu.org 2013-04-01 13:45 ` glisse at gcc dot gnu.org 2014-06-07 9:12 ` glisse at gcc dot gnu.org 2022-05-30 2:23 ` crazylht at gmail dot com 2022-11-01 3:24 ` cvs-commit at gcc dot gnu.org [this message]
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-55583-4-vwAicdD0Bh@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).