[Bug target/48085] [x32] Unnecessary zero-extension

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 28 16:02:00 GMT 2011


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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x32
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2011-07-28 16:01:20 UTC ---
Current mainline gcc does not generate zero extensions anymore:

foo:
.LFB0:
    .cfi_startproc
    movl    (%rdi), %eax    # 6    *movsi_internal/1    [length = 2]
    ret    # 20    return_internal    [length = 1]
    .cfi_endproc
.LFE0:

Fixed.



More information about the Gcc-bugs mailing list