This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/35045] [4.3 Regression] gcc-4.3 generates wrong code on i386 with -O3



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]