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/51954] __int128_t (and long long on x86) negation can be optimized


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-* i?86-*-*
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |missed-optimization
   Last reconfirmed|                            |2012-01-23
     Ever Confirmed|0                           |1
            Summary|__int128_t negation can be  |__int128_t (and long long
                   |optimized                   |on x86) negation can be
                   |                            |optimized

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-23 02:44:13 UTC ---
Confirmed, 64bit long long has a similar improvement for x86:
     movl    4(%esp), %eax
    movl    8(%esp), %edx
    negl    %eax
    adcl    $0, %edx
    negl    %edx


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