public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "vineet.gupta at linux dot dev" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106265] RISC-V SPEC2017 507.cactu code bloat due to address generation Date: Mon, 11 Jul 2022 23:37:42 +0000 [thread overview] Message-ID: <bug-106265-4-aAloCcwVzM@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-106265-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106265 --- Comment #4 from Vineet Gupta <vineet.gupta at linux dot dev> --- Going back to first dump (upstream 6abe341558a w/o riscv_rtx_costs() adj): the 3rd instruction addi is marking a2 REG_DEAD at 315 cprop.hardreg --->8---- 314r.rnreg (insn 2663 2662 1714 3 (set (reg:DI 13 a3 [2815]) (plus:DI (reg:DI 12 a2 [2816]) (const_int -2024 [0xfffffffffffff818]))) "rhs-cred.cc":42:47 4 {adddi3} (expr_list:REG_EQUAL (const_int 2072 [0x818]) (nil))) --->8---- 315r.cprop_hardreg (insn 2663 2662 1714 3 (set (reg:DI 13 a3 [2815]) (plus:DI (reg:DI 12 a2 [2816]) (const_int -2024 [0xfffffffffffff818]))) "rhs-cred.cc":42:47 4 {adddi3} (expr_list:REG_DEAD (reg:DI 12 a2 [2816]) (expr_list:REG_EQUAL (const_int 2072 [0x818]) (nil)))) Not sure if that is the issue or the compiler just deducing that a2 is dead given that the next instruction sets it up again was introduced much earlier in 300r.reload
next prev parent reply other threads:[~2022-07-11 23:37 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-11 23:13 [Bug target/106265] New: " vineet.gupta at linux dot dev 2022-07-11 23:23 ` [Bug target/106265] " vineet.gupta at linux dot dev 2022-07-11 23:25 ` vineet.gupta at linux dot dev 2022-07-11 23:27 ` vineet.gupta at linux dot dev 2022-07-11 23:37 ` vineet.gupta at linux dot dev [this message] 2022-07-12 6:44 ` rguenth at gcc dot gnu.org 2022-07-12 7:51 ` Andrew Waterman 2022-07-12 7:52 ` andrew at sifive dot com 2022-07-12 20:18 ` vineet.gupta at linux dot dev 2022-07-21 21:09 ` vineet.gupta at linux dot dev 2022-07-21 21:21 ` vineet.gupta at linux dot dev 2022-07-22 21:39 ` vineet.gupta at linux dot dev 2023-08-04 22:30 ` vineetg at gcc dot gnu.org 2024-05-28 22:40 ` vineetg 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-106265-4-aAloCcwVzM@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).