This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35045] [4.3 Regression] gcc-4.3 generates wrong code on i386 with -O3
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Feb 2008 12:02:27 -0000
- Subject: [Bug target/35045] [4.3 Regression] gcc-4.3 generates wrong code on i386 with -O3
- References: <bug-35045-8932@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from rguenth at gcc dot gnu dot org 2008-02-01 12:02 -------
Re comment #9 - after postreload there is only
(insn 62 61 40 4 test-cacoshf.c:16 (set (reg:SF 0 ax [ <result> ])
(mem/c:SF (plus:SI (reg/f:SI 6 bp)
(const_int -20 [0xffffffffffffffec])) [0 S4 A8])) 97 {*movsf_1}
(nil))
(insn 40 62 45 4 test-cacoshf.c:16 (set (reg:SF 1 dx [+4 ])
(mem/c:SF (plus:SI (reg/f:SI 6 bp)
(const_int -16 [0xfffffffffffffff0])) [0 res$imag+0 S4 A8])) 97
{*movsf_1} (nil))
(insn 45 40 56 4 test-cacoshf.c:16 (use (reg/i:SC 0 ax)) -1 (nil))
;; End of basic block 4 -> ( 1)
;; lr out 0 [ax] 1 [dx] 6 [bp] 7 [sp] 20 [frame]
but (reg:SC ax) should include dx, right?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35045