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/47521] Unnecessary usage of edx register


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

Tony Poppleton <tony.poppleton at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.5
      Known to fail|                            |4.4.5, 4.5.2, 4.6.0

--- Comment #1 from Tony Poppleton <tony.poppleton at gmail dot com> 2011-01-28 17:23:19 UTC ---
I probably meant "testb   $16, %dil" above...

GCC 4.3.5 avoids the usage of edx, although it too probably has 1 instruction
too many:
        testb   $16, %dil
        movl    $1, %eax
        cmove   %eax, %edi
        movl    %edi, %eax
        ret


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