public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "steven at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/30961] [4.2/4.3 regression] redundant reg/mem stores/moves Date: Fri, 11 May 2007 17:26:00 -0000 [thread overview] Message-ID: <20070511172632.19834.qmail@sourceware.org> (raw) In-Reply-To: <bug-30961-7667@http.gcc.gnu.org/bugzilla/> ------- Comment #5 from steven at gcc dot gnu dot org 2007-05-11 18:26 ------- For gcc 3.4, same function convert, lreg: ;; Register 60 in 5. ;; Register 62 in 0. (note:HI 2 0 27 NOTE_INSN_DELETED) ;; Start of basic block 0, registers live: 5 [di] 6 [bp] 7 [sp] 16 [argp] 20 [frame] (note:HI 27 2 3 0 [bb 0] NOTE_INSN_BASIC_BLOCK) (insn:HI 3 27 4 0 (set (reg/v:SI 60 [ in ]) (reg:SI 5 di [ in ])) 43 {*movsi_1_nointernunit} (nil) (expr_list:REG_DEAD (reg:SI 5 di [ in ]) (nil))) (note:HI 4 3 30 0 NOTE_INSN_FUNCTION_BEG) (insn:HI 30 4 20 0 (set (subreg:SI (reg/v:SF 62 [ in ]) 0) (reg/v:SI 60 [ in ])) 43 {*movsi_1_nointernunit} (insn_list 3 (nil)) (expr_list:REG_DEAD (reg/v:SI 60 [ in ]) (nil))) (note:HI 20 30 23 0 NOTE_INSN_FUNCTION_END) (insn:HI 23 20 26 0 (set (reg/i:SF 21 xmm0 [ <result> ]) (reg/v:SF 62 [ in ])) 91 {*movsf_1_nointerunit} (insn_list 30 (nil)) (expr_list:REG_DEAD (reg/v:SF 62 [ in ]) (nil))) (insn:HI 26 23 0 0 (use (reg/i:SF 21 xmm0 [ <result> ])) -1 (insn_list 23 (nil)) (nil)) ;; End of basic block 0, registers live: 6 [bp] 7 [sp] 16 [argp] 20 [frame] 21 [xmm0] and later on .greg: ;; Function convert ;; 0 regs to allocate: ;; 60 conflicts: 60 5 7 ;; 62 conflicts: 62 0 7 Spilling for insn 23. Spilling for insn 23. Reloads for insn # 23 Reload 0: reload_in (SF) = (reg/v:SF 0 ax [orig:62 in ] [62]) SSE_REGS, RELOAD_FOR_INPUT (opnum = 1) reload_in_reg: (reg/v:SF 0 ax [orig:62 in ] [62]) reload_reg_rtx: (reg/i:SF 21 xmm0 [ <result> ]) ;; Register dispositions: 60 in 5 62 in 0 ;; Hard regs used: 0 5 21 (note:HI 2 0 27 NOTE_INSN_DELETED) ;; Start of basic block 0, registers live: 5 [di] 7 [sp] (note:HI 27 2 3 0 [bb 0] NOTE_INSN_BASIC_BLOCK) (insn:HI 3 27 4 0 (set (reg/v:SI 5 di [orig:60 in ] [60]) (reg:SI 5 di [ in ])) 43 {*movsi_1_nointernunit} (nil) (nil)) (note:HI 4 3 30 0 NOTE_INSN_FUNCTION_BEG) (insn:HI 30 4 20 0 (set (reg:SI 0 ax [orig:62 in ] [62]) (reg/v:SI 5 di [orig:60 in ] [60])) 43 {*movsi_1_nointernunit} (insn_list 3 (nil)) (nil)) (note:HI 20 30 33 0 NOTE_INSN_FUNCTION_END) (insn 33 20 34 0 (set (mem:SF (plus:DI (reg/f:DI 7 sp) (const_int -4 [0xfffffffffffffffc])) [0 S4 A8]) (reg/v:SF 0 ax [orig:62 in ] [62])) 91 {*movsf_1_nointerunit} (nil) (nil)) (insn 34 33 23 0 (set (reg/i:SF 21 xmm0 [ <result> ]) (mem:SF (plus:DI (reg/f:DI 7 sp) (const_int -4 [0xfffffffffffffffc])) [0 S4 A8])) 91 {*movsf_1_nointerunit} (nil) (nil)) (insn:HI 23 34 26 0 (set (reg/i:SF 21 xmm0 [ <result> ]) (reg/i:SF 21 xmm0 [ <result> ])) 91 {*movsf_1_nointerunit} (insn_list 30 (nil)) (nil)) (insn 26 23 32 0 (use (reg/i:SF 21 xmm0 [ <result> ])) -1 (insn_list 23 (nil)) (nil)) ;; End of basic block 0, registers live: 6 [bp] 7 [sp] 16 [argp] 20 [frame] 21 [xmm0] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30961
next prev parent reply other threads:[~2007-05-11 17:26 UTC|newest] Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-25 18:26 [Bug target/30961] New: " pluto at agmk dot net 2007-03-05 11:11 ` [Bug target/30961] [4.2 regression] " pluto at agmk dot net 2007-04-11 19:00 ` [Bug target/30961] [4.2/4.3 " pluto at agmk dot net 2007-04-11 21:40 ` steven at gcc dot gnu dot org 2007-05-11 17:22 ` steven at gcc dot gnu dot org 2007-05-11 17:26 ` steven at gcc dot gnu dot org [this message] 2007-05-11 17:28 ` steven at gcc dot gnu dot org 2007-05-11 20:42 ` steven at gcc dot gnu dot org 2007-05-12 17:24 ` hjl at lucon dot org 2007-05-12 17:47 ` steven at gcc dot gnu dot org 2007-05-12 18:03 ` hjl at lucon dot org 2007-05-12 21:27 ` hjl at lucon dot org 2007-05-13 5:36 ` hjl at lucon dot org 2007-05-13 19:08 ` hjl at lucon dot org 2007-06-30 9:11 ` [Bug target/30961] [4.1/4.2/4.3 " pinskia at gcc dot gnu dot org 2007-07-04 3:05 ` mmitchel at gcc dot gnu dot org 2007-07-31 18:29 ` pluto at agmk dot net 2007-07-31 19:36 ` hjl at lucon dot org 2007-08-01 11:30 ` [Bug target/30961] [4.1/4.2 " pluto at agmk dot net 2007-08-02 14:21 ` hjl at lucon dot org 2007-08-06 17:49 ` pluto at agmk dot net 2007-08-06 18:02 ` [Bug target/30961] [4.1/4.2/4.3 " hjl at lucon dot org 2007-08-06 18:28 ` pluto at agmk dot net 2007-08-06 21:39 ` pluto at agmk dot net 2007-08-07 0:22 ` hjl at lucon dot org 2007-08-07 7:22 ` pluto at agmk dot net 2007-08-07 12:57 ` hjl at lucon dot org 2007-08-07 17:52 ` pluto at agmk dot net 2007-08-07 17:53 ` pluto at agmk dot net 2007-08-07 18:11 ` hjl at lucon dot org 2007-08-07 21:20 ` pluto at agmk dot net 2007-08-08 0:33 ` hjl at lucon dot org 2007-08-08 3:01 ` hjl at lucon dot org 2007-08-08 21:50 ` pluto at agmk dot net 2007-08-27 14:50 ` jakub at gcc dot gnu dot org 2007-08-27 18:38 ` hjl at lucon dot org 2007-11-06 17:30 ` hjl at lucon dot org 2007-11-06 19:19 ` hjl at gcc dot gnu dot org 2008-07-04 22:00 ` [Bug target/30961] [4.2 " jsm28 at gcc dot gnu dot org 2009-02-13 16:00 ` hjl dot tools at gmail dot com 2009-03-30 21:40 ` jsm28 at gcc dot gnu dot 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=20070511172632.19834.qmail@sourceware.org \ --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).