This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/27468] sign-extending Alpha instructions not exploited
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2006 18:35:02 -0000
- Subject: [Bug rtl-optimization/27468] sign-extending Alpha instructions not exploited
- References: <bug-27468-2744@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-07 18:35 -------
For abs, we do get a difference in the RTL:
(insn 32 11 16 2 (set (subreg:SI (reg:DI 73) 0)
(subreg:SI (reg:DI 72) 0)) -1 (nil)
(expr_list:REG_DEAD (reg:DI 72)
(nil)))
(note 16 32 31 2 NOTE_INSN_FUNCTION_END)
(insn 31 16 19 2 (set (reg:DI 73)
(sign_extend:DI (subreg:SI (reg:DI 73) 0))) 1 {*extendsidi2_1} (nil)
(nil))
--------- TO;
(insn 12 11 16 2 (set (reg:DI 73)
(sign_extend:DI (subreg:SI (reg:DI 72) 0))) 1 {*extendsidi2_1}
(insn_list:REG_DEP_TRUE 11 (nil))
(expr_list:REG_DEAD (reg:DI 72)
(nil)))
(note 16 12 19 2 NOTE_INSN_FUNCTION_END)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27468