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/50339] suboptimal register allocation for abs(__int128_t)


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

Steven Fuerst <svfuerst at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |svfuerst at gmail dot com

--- Comment #1 from Steven Fuerst <svfuerst at gmail dot com> 2012-01-22 23:44:55 UTC ---
It is possible to remove yet another mov instruction:

mov    %rdi,%rax
mov    %rsi,%rdx
sar    $0x3f,%rsi
xor    %rsi,%rax
xor    %rsi,%rdx
sub    %rsi,%rax
sbb    %rsi,%rdx
retq


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