[Bug rtl-optimization/24762] [killloop-branch] code motion of non-invariant expressions with hard registers.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 9 21:08:00 GMT 2005



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-11-09 21:08 -------
This is not an ia64 specific issue as far as I can see, on x86_64, we get:

(note 64 61 62 2 [bb 2] NOTE_INSN_BASIC_BLOCK)

(insn 62 64 63 2 (set (reg:DI 63)
        (reg:DI 0 ax)) -1 (nil)
    (nil))

(insn 63 62 53 2 (set (reg:DI 65)
        (reg:DI 1 dx)) -1 (nil)
    (nil))

so those could also be moved above the loop also (if you change the cost).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24762



More information about the Gcc-bugs mailing list