------- Comment #2 from hjl dot tools at gmail dot com  2010-06-19 19:03 -------
Created an attachment (id=20943)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20943&action=view)
An updated patch

8bit divide is AX / r/m8. Here is the updated patch.
Now it generates:

foo:
.LFB0:
        .cfi_startproc
        movzbl  %dil, %eax
        divb    %sil
        movzbl  %al, %edx
        movzbl  %ah, %eax
        movb    %dl, z(%rip)
        ret


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20941|0                           |1
        is obsolete|                            |


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

Reply via email to