public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "guihaoc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93453] PPC: rldimi not taken into account to avoid shift+or Date: Tue, 09 Nov 2021 02:38:37 +0000 [thread overview] Message-ID: <bug-93453-4-I5XWf9n5q9@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-93453-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93453 HaoChen Gui <guihaoc at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guihaoc at gcc dot gnu.org --- Comment #2 from HaoChen Gui <guihaoc at gcc dot gnu.org> --- My solution is to split the move (from TI to V1TI) into one vsx_concat_v2di and one V2DI to V1TI move. Thus, TI register 122 can be decomposed. (insn 12 11 17 2 (set (reg:V1TI 121 [ b ]) (subreg:V1TI (reg:TI 122 [ a ]) 0)) "test2.c":4:5 1167 {vsx_movv1ti_64bit} (expr_list:REG_DEAD (reg:TI 122 [ a ]) (nil))) //after split pass (insn 23 11 24 2 (set (reg:V2DI 125) (vec_concat:V2DI (subreg:DI (reg:TI 122 [ a ]) 0) (subreg:DI (reg:TI 122 [ a ]) 8))) "test2.c":4:5 -1 (nil)) (insn 24 23 17 2 (set (reg:V1TI 121 [ b ]) (subreg:V1TI (reg:V2DI 125) 0)) "test2.c":4:5 -1 (nil)) //after subreg pass (insn 23 11 24 2 (set (reg:V2DI 125) (vec_concat:V2DI (reg:DI 126 [ a ]) (reg:DI 127 [ a+8 ]))) "test2.c":4:5 1346 {vsx_concat_v2di} (nil)) (insn 24 23 17 2 (set (reg:V1TI 121 [ b ]) (subreg:V1TI (reg:V2DI 125) 0)) "test2.c":4:5 1167 {vsx_movv1ti_64bit} (nil))
next parent reply other threads:[~2021-11-09 2:38 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-93453-4@http.gcc.gnu.org/bugzilla/> 2021-11-09 2:38 ` guihaoc at gcc dot gnu.org [this message] 2021-11-09 11:56 ` segher at gcc dot gnu.org 2021-11-16 2:58 ` guihaoc at gcc dot gnu.org 2021-11-22 19:51 ` segher at gcc dot gnu.org 2021-11-23 2:46 ` guihaoc at gcc dot gnu.org 2021-11-23 19:44 ` segher at gcc dot gnu.org 2021-11-25 3:31 ` guihaoc at gcc dot gnu.org 2021-11-25 17:40 ` segher 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-93453-4-I5XWf9n5q9@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).