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 rtl-optimization/83827] vector load/store with struct in registers Date: Mon, 16 Aug 2021 07:17:52 +0000 [thread overview] Message-ID: <bug-83827-4-q2J5CG3Yzv@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-83827-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83827 --- Comment #2 from Hongtao.liu <crazylht at gmail dot com> --- For f, pass_combine failed Trying 20, 21 -> 22: 20: clobber r83:TI 21: r83:TI#0=r88:DI REG_DEAD r88:DI 22: r83:TI#8=r89:DI REG_DEAD r89:DI Can't combine i2 into i3 (insn 20 6 21 2 (clobber (reg/v:TI 83 [ x ])) "test.cpp":3:11 -1 (nil)) (insn 21 20 22 2 (set (subreg:DI (reg/v:TI 83 [ x ]) 0) (reg:DI 88 [ x ])) "test.cpp":3:11 74 {*movdi_internal} (expr_list:REG_DEAD (reg:DI 88 [ x ]) (nil))) (insn 22 21 8 2 (set (subreg:DI (reg/v:TI 83 [ x ]) 8) (reg:DI 89 [+8 ])) "test.cpp":3:11 74 {*movdi_internal} (expr_list:REG_DEAD (reg:DI 89 [+8 ]) And it should be optimized to (set (reg:TI 83) (subreg:TI (vec_concat:V2DI (reg:DI 88) (reg:DI 89)) 0))??
next prev parent reply other threads:[~2021-08-16 7:17 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-83827-4@http.gcc.gnu.org/bugzilla/> 2021-08-14 21:29 ` pinskia at gcc dot gnu.org 2021-08-16 7:17 ` crazylht at gmail dot com [this message] 2021-08-16 7:58 ` crazylht at gmail dot com 2021-08-16 8:15 ` crazylht at gmail dot com
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-83827-4-q2J5CG3Yzv@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).