public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/21617] [4.4/4.5/4.6/4.7 Regression] CRC64 algorithm optimization problem on Intel 32-bit
Date: Thu, 08 Dec 2011 03:35:00 -0000	[thread overview]
Message-ID: <bug-21617-4-haaDsz8dVJ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-21617-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-08 03:34:57 UTC ---
-O1:
.L2:
    movl    %eax, %edx
    sarl    $31, %edx
    shrl    $24, %edx
    leal    (%eax,%edx), %ecx
    andl    $255, %ecx
    subl    %edx, %ecx
    movb    %cl, (%ebx,%eax)
    addl    $1, %eax
    cmpl    $8192, %eax
    jne    .L2

-O2:
.L4:
    movl    76(%esp), %ecx
    movl    %edi, %ebx
    shrl    $24, %ebx
    movzbl    (%ecx), %edx
    addl    $1, %ecx
    movl    %ecx, 76(%esp)
    movl    %esi, %ecx
    sall    $8, %ecx
    xorl    %ebx, %edx
    movl    %edi, %ebx
    shldl    $8, %esi, %ebx
    movl    crc_table+4(,%edx,8), %edi
    movl    crc_table(,%edx,8), %esi
    xorl    %ebx, %edi
    xorl    %ecx, %esi
    cmpl    %eax, 76(%esp)
    jne    .L4


  parent reply	other threads:[~2011-12-08  3:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-21617-4@http.gcc.gnu.org/bugzilla/>
2011-06-12 12:38 ` rguenth at gcc dot gnu.org
2011-12-08  3:35 ` pinskia at gcc dot gnu.org [this message]
2011-12-08  3:37 ` pinskia at gcc dot gnu.org
2011-12-08  3:53 ` pinskia at gcc dot gnu.org
2011-12-09 19:16 ` vmakarov at redhat dot com
2011-12-12 21:00 ` vmakarov at gcc dot gnu.org
2011-12-12 21:26 ` [Bug rtl-optimization/21617] [4.4/4.5/4.6 " jakub at gcc dot gnu.org
2012-03-13 15:31 ` [Bug rtl-optimization/21617] [4.5/4.6 " jakub at gcc dot gnu.org
2012-07-02 12:11 ` rguenth at gcc dot gnu.org
2013-04-12 16:18 ` [Bug rtl-optimization/21617] [4.6 " jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-21617-4-haaDsz8dVJ@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).