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 rtl-optimization/58542] std::atomic<__int128_t>::store broken with -march=corei7


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

UroÅ Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-09-26
          Component|c++                         |rtl-optimization
     Ever confirmed|0                           |1

--- Comment #2 from UroÅ Bizjak <ubizjak at gmail dot com> ---
Confirmed, it is subreg1 pass that splits:

(insn 10 9 11 3 (set (reg:TI 107)
        (const_double -1 [0xffffffffffffffff] 0 [0] 0 [0] 0 [0]))
/usr/include/c++/4.8.1/atomic:199 84 {*movti_internal}
     (nil))

to:

(insn 58 57 59 3 (set (reg:DI 130)
        (const_int -1 [0xffffffffffffffff])) /usr/include/c++/4.8.1/atomic:199
85 {*movdi_internal}
     (nil))
(insn 59 58 11 3 (set (reg:DI 131 [+8 ])
        (const_int 0 [0])) /usr/include/c++/4.8.1/atomic:199 85
{*movdi_internal}
     (nil))

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