[Bug target/89040] Wrong code with -mno-mmx

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 24 16:06:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89040

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Before reload:

(insn 14 4 2 2 (set (reg:V2SI 86)
        (reg:V2SI 20 xmm0 [ __i ])) "x.i":6:1 1090 {*movv2si_internal}
     (expr_list:REG_DEAD (reg:V2SI 20 xmm0 [ __i ])
        (nil)))
(note 2 14 3 2 NOTE_INSN_DELETED)
(note 3 2 6 2 NOTE_INSN_FUNCTION_BEG)
(insn 6 3 11 2 (set (reg:DI 85 [ __i ])
        (subreg:DI (reg:V2SI 86) 0)) "x.i":7:23 66 {*movdi_internal}
     (expr_list:REG_DEAD (reg:V2SI 86)
        (nil)))
(insn 11 6 12 2 (set (reg/i:SI 0 ax)
        (subreg:SI (reg:DI 85 [ __i ]) 0)) "x.i":8:1 67 {*movsi_internal}
     (expr_list:REG_DEAD (reg:DI 85 [ __i ])
        (nil)))
(insn 12 11 0 2 (use (reg/i:SI 0 ax)) "x.i":8:1 -1
     (nil))

After reload:

(insn 6 3 12 2 (set (reg:DI 0 ax [orig:85 __i ] [85])
        (reg:DI 20 xmm0 [86])) "x.i":7:23 66 {*movdi_internal}
     (nil))
(insn 12 6 15 2 (use (reg/i:SI 0 ax)) "x.i":8:1 -1
     (nil))


More information about the Gcc-bugs mailing list