public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115487] -march=cascadelake causes spilling Date: Fri, 14 Jun 2024 09:59:04 +0000 [thread overview] Message-ID: <bug-115487-4-xelAQIS5Ry@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-115487-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115487 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Building chain #7... Adding insn 34 to chain #7 r133 def in insn 33 isn't convertible Mark r133 def in insn 33 as requiring both modes in chain #7 Collected chain #7... insns: 34 defs to convert: r133 Computing gain for chain #7... Instruction gain 8 for 34: [r103:SI]=r133:DI Instruction conversion gain: 8 Registers conversion cost: 6 Total gain: 2 Converting chain #7... deferring rescan insn with uid = 89. deferring rescan insn with uid = 90. deferring rescan insn with uid = 91. Copied r133 to a vector register r141 for insn 33 the question is why we start the chain at 33: r133:DI=vec_select(r131:V4SI#0,parallel) rather than at 28: r131:V4SI=[r102:SI] or why we are working with SImode regs/vectors in the lowering. The code before STV2 looks perfectly OK, and most definitely the costs are totally off here.
prev parent reply other threads:[~2024-06-14 9:59 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-06-14 9:31 [Bug target/115487] New: " rguenth at gcc dot gnu.org 2024-06-14 9:42 ` [Bug target/115487] " rguenth at gcc dot gnu.org 2024-06-14 9:59 ` rguenth 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-115487-4-xelAQIS5Ry@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).