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

Reply via email to