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